Y
Hacker News
new
|
ask
|
show
|
jobs
by
sobes
4498 days ago
Is there ever a reason / use case in JS to NOT use the strict comparison operators (=== and !==)? Browser support? Performance? Logic tricks?
1 comments
chenglou
4498 days ago
Only one that I can think of, and a frequent one:
if (a == null) bla;
This checks for null and undefined.
link