+ 1
What will be the output of the code below?
var Y = 1; if (function F(){}) { y += Typeof F;</span> } console.log(y);
1 Answer
+ 4
Definitely errors...
Like "y is not defined"....to fix this....change 'y' to 'Y'
also
Typeof : it should be like this typeof()
.I dont know why u used </span> over there...it just doesn't belong there