complexity: 2 ; importance: 8; author: docentmail
Javascript Variable Scope.
Problem 2016-01-17-00-01
Question: What would be result of execution of the snippet?
function func1() {
function func2() {
var theVar = 'Bye !';
alert(theVar);
}
}
func2();