A

Admin • 828.03K Points
Coach

Q. Which of the following is true about 'const'?

  • (A) Cannot be reassigned
  • (B) Cannot be mutated
  • (C) Not block-scoped
  • (D) Hoisted to top with undefined
  • Correct Answer - Option(A)
  • Views: 8
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
const variables cannot be reassigned but can be mutated (for objects).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.