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
πŸ’¬ Discuss
βœ… Correct Answer: (C) const must be initialized
Explanation: const must be initialized when declared.
Explanation by: Chandani
const must be initialized when declared.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
82
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
95%
Success Rate