Q. Which value is considered falsy in JavaScript?

  • (A) 0
  • (B) 1
  • (C) 'false'
  • (D) []
πŸ’¬ Discuss
βœ… Correct Answer: (A) 0
Explanation: 0 is falsy; the others are all truthy values in JavaScript.
Explanation by: Mr. Dubey
0 is falsy; the others are all truthy values in JavaScript.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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