πŸ“Š JavaScript
Q. Which keyword declares a block-scoped variable?
  • (A) let
  • (B) var
  • (C) const
  • (D) Both let and const
πŸ’¬ Discuss
βœ… Correct Answer: (D) Both let and const

Explanation: Both let and const are block-scoped.

Explanation by: Mr. Dubey
Both let and const are block-scoped.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
58
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate