πŸ“Š JavaScript
Q. What is the meaning of JavaScript Hoisting?
  • (A) Moving declarations to bottom
  • (B) Moving declarations to top
  • (C) Hosting variables by itself
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) Moving declarations to top

Explanation: Hoisting is JavaScript’s default behavior of moving declarations to the top. In JavaScript, a variable can be declared after it has been used) In other words; a variable can be used before it has been declared.

Explanation by: Mr. Dubey
Hoisting is JavaScript’s default behavior of moving declarations to the top. In JavaScript, a variable can be declared after it has been used) In other words; a variable can be used before it has been declared.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
210
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate