Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sobes
· 12y ago · 0 comments
Is there ever a reason / use case in JS to NOT use the strict comparison operators (=== and !==)? Browser support? Performance? Logic tricks?
Comments
[–]
chenglou
12y ago
Only one that I can think of, and a frequent one:
if (a == null) bla;
This checks for null and undefined.