A

Admin • 833.24K Points
Coach

Q. Which statement is true about let, var, and const?

  • (A) var is block scoped
  • (B) let is function scoped
  • (C) const must be initialized
  • (D) const can be reassigned
  • Correct Answer - Option(C)
  • Views: 27
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

const must be initialized when declared.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.