{ "type": "File", "start": 0, "end": 17, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 17 } }, "errors": [ "SyntaxError: Invalid rest operator's argument (1:5)" ], "program": { "type": "Program", "start": 0, "end": 17, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 17 } }, "sourceType": "script", "interpreter": null, "body": [ { "type": "ExpressionStatement", "start": 0, "end": 17, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 17 } }, "expression": { "type": "AssignmentExpression", "start": 1, "end": 16, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 16 } }, "operator": "=", "left": { "type": "ObjectPattern", "start": 1, "end": 11, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 11 } }, "properties": [ { "type": "RestElement", "start": 2, "end": 10, "loc": { "start": { "line": 1, "column": 2 }, "end": { "line": 1, "column": 10 } }, "argument": { "type": "AssignmentPattern", "start": 5, "end": 10, "loc": { "start": { "line": 1, "column": 5 }, "end": { "line": 1, "column": 10 } }, "left": { "type": "Identifier", "start": 5, "end": 6, "loc": { "start": { "line": 1, "column": 5 }, "end": { "line": 1, "column": 6 }, "identifierName": "x" }, "name": "x" }, "right": { "type": "NumericLiteral", "start": 9, "end": 10, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 10 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ] }, "right": { "type": "ObjectExpression", "start": 14, "end": 16, "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 16 } }, "properties": [] }, "extra": { "parenthesized": true, "parenStart": 0 } } } ], "directives": [] } }