What is the fundamental rule of lexical scoping?
Functions are declared in the scope
Functions are executed using scope chain
Functions are declared outside the scope
Variables are declared within the function
Correct Answer : B
var scope = "global scope";
var scope = "local scope";
Which of the following is not an example of closures?
What is the purpose of the dynamic scoping?