Treat null, undefined, and NaN as viral contaigons#38
Treat null, undefined, and NaN as viral contaigons#38kriskowal wants to merge 1 commit intomontagejs:masterfrom
Conversation
For the purpose of determining whether a meaningful value exists to propagate.
|
I don't have any particular use case in mind where I know it would have been nice to differentiate encountering |
|
Alternately, I could propagate NaN and use the |
|
Oh, wait. That’s what I did. |
|
Oh, no. This would just be a start. I could use this |
|
@kriskowal could you rebase on master ? |
This adds NaN to the list of invalid inputs for operators, such that
they will all propagate as undefined.