Q35
What is the fundamental rule of lexical scoping?
A.
Functions are declared in the scope
B.
Functions are executed using scope chain
AnswerC.
All of the mentioned
D.
None of the mentioned
Answer: Option B
Solution
Answer: Option B
Solution:
The fundamental rule of lexical scoping is that the JavaScript functions are executed using the scope chain that was in effect when they were defined.