Watching JavaScript fundamentals (Pluralsight) as a refresh and had my world rocked – apparently we should be using === and !== all this time and not == and != that’s just nutty!!
Basically “” == 0 (true), “” === 0 (false), 1 == “1” (true) 1 === “1” (false).