4 ms·
It's strict equality in JavaScript. 17 == "17" // TRUE 17 === "17" // FALSE
by freyr 11y ago
It's strict equality in JavaScript.
17 == "17" // TRUE
17 === "17" // FALSE
- beambot 11y agoHeh, just looking at the code rather than the text, my first thought was "type error". JavaScript. Wat? https://www.destroyallsoftware.com/talks/wat https://www.destroyallsoftware.com/talks/wat