Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upQuestion: x == null rule #279
Comments
This comment has been minimized.
This comment has been minimized.
|
Probably because it broke a lot a lot of peoples code/assumptions otherwise. |
This comment has been minimized.
This comment has been minimized.
|
in that case, perhaps it should be considered for deprecation? |
This comment has been minimized.
This comment has been minimized.
|
Possibly, there might be more to it. @feross? |
dcousens
added
question
enhancement
labels
Oct 2, 2015
This comment has been minimized.
This comment has been minimized.
|
It's a very common idiom in JS to check for
|
This comment has been minimized.
This comment has been minimized.
|
IMHO, if they can afford to be that loose with their arguments, I'd prefer just |
This comment has been minimized.
This comment has been minimized.
|
@dcousens Maybe you're right, but this ship has sailed and it's not worth a breaking change. |
feross
closed this
Oct 12, 2015
This comment has been minimized.
This comment has been minimized.
|
@feross not even in a |
rstacruz commentedOct 2, 2015
The readme says:
Why is
==being permitted in this exception?