A large part of Javascript's problems result from the fact that it was designed to do very small things and then evolved into larger things later. And more importantly it was pushed out the door of Mozilla way too soon. Most languages have a period of a few years where the rough edges get filled off, javascript didn't.
As for the equality operator, there are two == and === the problem is that == does some very strange type conversions and can lead to all sorts of strange results in some corner cases.
no subject
A large part of Javascript's problems result from the fact that it was designed to do very small things and then evolved into larger things later. And more importantly it was pushed out the door of Mozilla way too soon. Most languages have a period of a few years where the rough edges get filled off, javascript didn't.
As for the equality operator, there are two == and === the problem is that == does some very strange type conversions and can lead to all sorts of strange results in some corner cases.