Q. What does console.log(!0) return?
Solution:
The logical NOT operator (!) inverts 0 (false) to true.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
The logical NOT operator (!) inverts 0 (false) to true.
Strengthen Your Practice with our comprehensive question bank.