Single Choice
Easy
QWhat will be the output of the following JavaScript code?
let a = 12;
function show() {
var a = 22;
console.log(a);
}
show();
ID: #20279
Block scope in JavaScript
70 views
Question Info
#20279Q ID
EasyDifficulty
Block scope in JavaScriptTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
22
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic