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
-
@-noob it's strict equality in JavaScript. === Means type and content, and == means content only.
4 != '5'
5 == '5'
'5' === '5'
5 !== '5' -
orto11568y@DucksCanCode🤔 not sure if this language is awesome or that special place in hell people keep telling me to visit.
-
@orto Honestly, I think it's just stuck around from the ye olde days when JavaScript had issues with type and value comparisons or something. Don't quote me though, I think I heard that on here, and that was the first and last time I thought about it.
devRant !== 9GAG
undefined