To be fair, trailing commas are OK in array literals (they don't even create an array hole—you need two trailing commas for that).