What will be the output of the following program?
var name = "Hyperskill";
function outerFunc() {
function innerFunc() {
var name = "JetBrains";
}
console.log(name);
}
outerFunc();What will be the output of the following program?
var name = "Hyperskill";
function outerFunc() {
function innerFunc() {
var name = "JetBrains";
}
console.log(name);
}
outerFunc();Create a free account to access the full topic