4 ms·
You 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 to
by toast0 6y ago
You 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.