0
What will the code below output to the console and why?
(function() {var a = b = 3; })(); console.log("a defined? " + (typeof a !== 'undefined')); console.log("b defined? " + (typeof b !== 'undefined'));
1 Answer
+ 12
You could try it out and debug it at the code playground.