Style poll, which do you prefer? Yes they are slightly different, but the edge case of a key pointing to undefined might not matter...
-
-
-
Replying to @izs
yeah, should of added more options. Also `o[k] == null` is a good option.
1 reply 0 retweets 1 like -
-
Replying to @yoshuawuyts @creationix
If I mean to test for either null or undefined, I'll usually do (x === undefined || x === null) explicitly to capture that intent.
3 replies 0 retweets 1 like
Replying to @izs @creationix
ah yeah, good point - less fancy 
3:54 PM - 26 Apr 2017
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.