4 ms·
In what world is the "," at the end of the final line an "opposite meaning" to ]? Not on modern JS world, which allows for dangling , everywhere: http://2ality
by coldtea 9y ago
In what world is the "," at the end of the final line an "opposite meaning" to ]?
Not on modern JS world, which allows for dangling , everywhere: http://2ality.com/2013/07/trailing-commas.html http://2ality.com/2013/07/trailing-commas.html, so having a "," doesn't mean the line is not the last one anymore, just means "it's a line like any other".
It's time JSON gets up with the times -- especially since it's a totally backwards compatible improvement.
- keymone 9y ago> it's a line like any other yeah, in other words - there should be no commas whatsoever. Weren't you the one complaining about redundancy?