2
msdsk
4y

I know null is not undefined and there is a very good reason for that - yet I'm still surprised every time something behaves differently depending on which is used.

Comments
  • 0
    Don't use arbitrary values, I guess... Loose comparison with boolean false is used for such ambuguity (undefined/null/0). That's up to conditions present in your script: you could as well use strict comparison to ensure that value is undefined.
Add Comment