A

Admin • 833K Points
Coach

Q. What is lexical scope?

  • (A) Scope determined at compile time based on code structure
  • (B) Scope determined at runtime
  • (C) Scope of a function inside a loop
  • (D) Scope within a class
  • Correct Answer - Option(A)
  • Views: 24
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

Lexical scope means the scope is determined by the physical placement of code.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.