MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/teqb37/static_bool_iscrazymurderingrobot_false/i0rmm3p/
r/ProgrammerHumor • u/speckz • Mar 15 '22
257 comments sorted by
View all comments
Show parent comment
12
I use ===
8 u/nelusbelus Mar 15 '22 I honestly can't wait for the quadruple equals that javascript will introduce later for type checking. Eg. myVar ==== 123.0 will check if it's a number and myVar ==== "text" if it's text. And then the pentuple equals, then sextuple, etc.
8
I honestly can't wait for the quadruple equals that javascript will introduce later for type checking. Eg. myVar ==== 123.0 will check if it's a number and myVar ==== "text" if it's text. And then the pentuple equals, then sextuple, etc.
View all comments
Show parent comment
12
u/TristanEngelbertVanB Mar 15 '22
I use ===