You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
This is already allowed in the spec. Trailing commas are only disallowed for object rest, not object spread, which is consistent with the behavior for arrays.
The trailing comma implies that there could be more stuff after it, but since it is a rest, there cannot be, which is why the comma isn't allowed for arrays either.
graingert
changed the title
support trailing commas
support trailing commas for object rest
Jun 2, 2017
The text was updated successfully, but these errors were encountered: