A

Admin • 828.03K Points
Coach

Q. What is the default scope of variables declared with var?

  • (A) Block
  • (B) Function
  • (C) Global
  • (D) Module
  • Correct Answer - Option(B)
  • Views: 7
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
Variables declared with var are function-scoped.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.