Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Voxera113887yTry to read up on type coercion in js.
https://medium.freecodecamp.org/js-...
Its a bit different than other languages but not unpredictable.
And in most cases try to use explicit compare with === and >==
Its removes some confusion.
Also, always specifically check for null or undefined, that way you avoid many hard to debug errors. -
yashrs717y@Lahsen2016 it's a very good language and no offense to anyone. I just found it funny and wanted to post it!
-
0 is always equal to false and null is always null. It makes sense if you think abt it.
JavaScript: A funny language to understand. I swear it's unpredictable!!!😅
rant