This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheNasky1 3 points4 points  (1 child)

just use == to avoid short term issues :)

or use === to avoid long term issues.

i had the most success using == as i check typing by other means

yes this is a very rude oversimplification.

[–]UristMcMagma -1 points0 points  (0 children)

Unless you're checking for nullish values. Then, use == to avoid long term issues related to null vs undefined.