Question 15 of 5229%
15
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);
15/52
function outside() {
var x = 5;
function inside(x) {
return x * 2;
}
return inside;
}
outside()(10);