JavaScript Quiz Practice
Active Recall Drill Session
← Exit SessionQuestion 1 of 1
easyJavaScript
What does this log?
code
function outer() {
var a = 1;
if (true) {
var a = 2;
}
console.log(a);
}
outer();Loading compiler resources...
Active Recall Drill Session
function outer() {
var a = 1;
if (true) {
var a = 2;
}
console.log(a);
}
outer();