* Fix parsing object rest This makes object-rest-spread behave according to spec and only allow one rest operator and enforces it to be the last param in the object. Also move all object-rest-spread tests to a own folder. * Show nicer error messages
4 lines
88 B
JSON
4 lines
88 B
JSON
{
|
|
"throws": "The rest element has to be the last element when destructuring (1:10)"
|
|
}
|