Files
babel/packages/babel-parser/test/fixtures/es2015/array-rest-spread/invalid-location/options.json
Nicolò Ribaudo 9764718c32 Disallow trailing comma after rest (#9311)
* Add new tests

* Use state instead of param and disallow comma in [...a,]=[]

* Unify error messages

* Object destructuring

* Update whitelist
2019-01-11 13:08:38 +01:00

4 lines
66 B
JSON

{
"throws": "The rest element must be the last element (1:1)"
}