Q30
What must be done in order to implement Lexical Scoping?
A.
Get the object
B.
Dereference the current scope chain
C.
Reference the current scope chain
AnswerD.
None of the mentioned
Answer: Option C
Solution
Answer: Option C
Solution:
In order to implement lexical scoping, the internal state of a JavaScript function object must include not only the code of the function but also a reference to the current scope chain.