πŸ“Š JavaScript
Q. What is the result?
Code:
console.log(0 === -0);
  • (A) true
  • (B) false
  • (C) TypeError
  • (D) undefined
πŸ’¬ Discuss
βœ… Correct Answer: (A) true

Explanation: 0 and -0 are considered equal in strict comparison.

Explanation by: Chandani
0 and -0 are considered equal in strict comparison.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
75
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
93%
Success Rate