Essential JavaScript Interview Questions Day129
Today #Day129 of #365DaysOfCode, Learning Essential JavaScript Interview Questions.
25. What will be the output of this code?
var x = 21;
var girl = function () {
console.log(x);
var x = 20;
};
girl ();
Neither 21, nor 20, the result is unde...
dheerajy1.hashnode.dev2 min read