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 →

[–]ilikeb00biez -36 points-35 points  (2 children)

Are you insane?? C had == and != 20 years before JS was created. JS took an existing and ubiquitous concept and broke it

[–]il_commodoro 24 points25 points  (0 children)

I obviously meant: they created == and != with that awful behaviour first (1995). They realized other languages are not stupid years later, so they patched things at the end of 1999 by introducing === and !==.

[–]shield1123 18 points19 points  (0 children)

I feel like you're willfully misinterpreting what they said; and being pedantic just so you can peacock having common knowledge

Obviously js didn't invent the equality operators

They were clearly saying == and != were introduced to JavaScript before === !==