Skip to content

iminbug/JavaScript_Assessment1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

JavaScript_Assessment1

Question 1

var y = 1; if(void function f(){}) { y += typeof f; } console.log(y);

Output In Screenshot ------------------------ Screenshot 2023-07-13 at 3 58 21 PM

Explanation---->

Question 2

(function () { var a = b = 3; })() ; console.log ("a defined? " + (typeof a !== 'undefined')); console.log ("b defined? " + (typeof b !== 'undefined'));

Output In ScreenShot ---->

Screenshot 2023-07-13 at 4 10 27 PM

Explanation---->

Question 3

console.log (typeof typeof 1);

Output In ScreenShot ---->

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published