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)"
}