you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 2 years ago

Only for the null case. For other cases it doesn't function identically, since it also treats "", 0 and undefined the same as null.

  • source
  • parent