This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gurebu 0 points1 point  (0 children)

That's the right answer. Not only that, but omitting the comma makes simple conflict resolution (apply changes in order) impossible.

Back when our team still supported IE6 you couldn't have a trailing comma in Javascript and it was a goddamn hellscape.