A

Admin • 833K Points
Coach

Q. The lexical scooping in JavaScript is based on which of the following?

  • (A) Segments
  • (B) Blocks
  • (C) Functions
  • (D) Entire code
  • Correct Answer - Option(C)
  • Views: 19
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

JavaScript has lexical scoping based on functions but not blocks.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.