== null
Because of Abstract Equality Comparison Algorithm, step 1-a, 1-b, 2, 3
val === undefined || val === null
completely equals to
val == null
Written by Yusuke Suzuki
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Javascript
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#