Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
>>> "0" == false
>>> false == "0"
So why does the following print "ha"?
>>> if ("0") console.log("ha")
Sep 10, 2015
to add a comment.
Related Hot Questions
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please