shouldn't allow trailing comma after rest parameter in objects #5092
Labels
Has PR
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
pkg: parser
PR: Breaking Change 💥
A type of pull request used for our changelog categories for next major release
PR: Spec Compliance 👓
A type of pull request used for our changelog categories
Milestone
Input Code
Babel Configuration (.babelrc, package.json, cli command)
Presets - stage3
Expected Behavior
throws SyntaxError
Current Behavior
No error
Possible Solution
Check for trailing comma and record pattern error.
The text was updated successfully, but these errors were encountered: