A

Admin • 833K Points
Coach

Q. What is the fundamental rule of lexical scoping?

  • (A) Functions are declared in the scope
  • (B) Functions are executed using scope chain
  • (C) All of the mentioned
  • (D) None of the mentioned
  • Correct Answer - Option(B)
  • Views: 21
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.