MCQs>IT & Programming>JavaScript MCQs>What's the output? (function(){ var a = b = 3; })(); console.log(' a defined? ' + (typeof a !== 'undefined'));)) console.log(' b defined? ' + (typeof b !== 'undefined'));))
JavaScript MCQs
What will the code below output to the console? (function(){ var a = b = 3; })(); console.log(" a defined? " + (typeof a !== 'undefined'));)) console.log(" b defined? " + (typeof b !== 'undefined'));))
Answer
Correct Answer: a defined ? false b defined ? true
Explanation:
Note: This Question is unanswered, help us to find answer for this one