Alex Crichton 72f346871c Handle JSON.stringify(undefined)
Turns out that `JSON.stringify(undefined)` doesn't actually return a
string, it returns `undefined`! If we're requested to serialize
`undefined` into JSON instead just interpret it as `null` which should
have the expected semantics of serving as a placeholder for `None`.

Closes #1778
2019-09-25 11:24:48 -05:00
..
2018-09-26 08:26:00 -07:00
2019-09-20 13:50:00 -05:00
2018-09-26 08:26:00 -07:00
2019-09-25 11:24:48 -05:00
2018-09-26 08:26:00 -07:00