Examveda
Examveda

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

D. None of the mentioned

Answer: Option C

Solution(By Examveda Team)

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.

This Question Belongs to Javascript >> Array And Function

Join The Discussion

Related Questions on Array and Function