Hacker News new | ask | show | jobs
by mattnewton 3756 days ago
That's why you need to use ===
1 comments

Fuck me. What does that stand for? I know =,==, but not ===
It's strict equality in JavaScript.

    17 == "17"  // TRUE
    17 === "17" // FALSE
Heh, just looking at the code rather than the text, my first thought was "type error".

JavaScript. Wat? https://www.destroyallsoftware.com/talks/wat