2 ms·
JSON requires commas, but does not need them, semantically they are treated like whitespace The document > {1:2 3:[4 5]} can only be "commafied" to > {1:2, 3:
by afiori 5y ago
JSON requires commas, but does not need them, semantically they are treated like whitespace
The document
> {1:2 3:[4 5]}
can only be "commafied" to
> {1:2, 3:[4, 5]}
> There are other langauges that allow arrays with missing elements.
But javascript is the only one that gave JSON the JS in its name