Question 26 of 10026%
26
Consider the below code snippets, What will be the output?
function outside() {
var x = 5;
function inside(x) {
return x * 2;
}
return inside;
}
outside()(10);
26/100
function outside() {
var x = 5;
function inside(x) {
return x * 2;
}
return inside;
}
outside()(10);