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
69 B
JSON

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