* 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
79 B
JSON
4 lines
79 B
JSON
{
|
|
"throws": "Cannot have multiple rest elements when destructuring (1:13)"
|
|
}
|