* 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
82 B
JSON
4 lines
82 B
JSON
{
|
|
"throws": "A trailing comma is not permitted after the rest element (1:16)"
|
|
}
|