Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Brendan Eich was on a podcast in 2016 talking about the origins and evolution of JS. At one point he and the ECMA team wanted to make == strict equality, but then that would have required specifying the JS version, and Microsoft didn't like that, so they decided to go with === and leave == non-strict.

It's one of several cases where backward compatibility on the web trumped cleaning up the language.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: