Q. What will be the result of Boolean('')?

  • (A) false
  • (B) true
  • (C) null
  • (D) undefined
πŸ’¬ Discuss
βœ… Correct Answer: (A) false
Explanation: An empty string is a falsy value, so Boolean('') returns false.
Explanation by: Mr. Dubey
An empty string is a falsy value, so Boolean('') returns false.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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