A

Admin • 828.03K Points
Coach

Q. What is hoisting in JavaScript?

  • (A) Declaring variables at the top
  • (B) Using let and const only
  • (C) JavaScript's default behavior of moving declarations to the top
  • (D) None of the above
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
Hoisting means variable/function declarations are moved to the top.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.