3 ms·
Not sure I follow. JSON has null. It doesn't have undefined.
by Waterluvian 6y ago
Not sure I follow. JSON has null. It doesn't have undefined.
- toast0 6y agoYou said > But otherwise I just leave undefined to play the role of "this optional argument wasn't defined" And the reply is saying that's how JSON uses it too. Anything set to undefined will not be serialized, as if it were optional and not defined.
- Waterluvian 6y agoArguments belong to functions. Sorry I was wandering all over.