What is the result of the following code?
function external(x) {
function internal(y) {
return x + y;
}
return internal(2);
}
console.log(external(3));
What is the result of the following code?
function external(x) {
function internal(y) {
return x + y;
}
return internal(2);
}
console.log(external(3));