Ever wondered when to use the ===
or ==
comparison operator in JavaScript? Here’s a nice explantation. (Spoiler: It’s all about type, i.e. the number 1 versus the string 1)
Ever wondered when to use the ===
or ==
comparison operator in JavaScript? Here’s a nice explantation. (Spoiler: It’s all about type, i.e. the number 1 versus the string 1)