{ "type": "File", "start": 0, "end": 12, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 12 } }, "errors": [ "SyntaxError: Invalid left-hand side in object destructuring pattern (1:4)" ], "program": { "type": "Program", "start": 0, "end": 12, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 12 } }, "sourceType": "script", "interpreter": null, "body": [ { "type": "ExpressionStatement", "start": 0, "end": 12, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 1, "end": 11, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 11 } }, "operator": "=", "left": { "type": "ObjectPattern", "start": 1, "end": 9, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 2, "end": 8, "loc": { "start": { "line": 1, "column": 2 }, "end": { "line": 1, "column": 8 } }, "method": false, "key": { "type": "Identifier", "start": 2, "end": 3, "loc": { "start": { "line": 1, "column": 2 }, "end": { "line": 1, "column": 3 }, "identifierName": "a" }, "name": "a" }, "computed": false, "shorthand": false, "value": { "type": "ThisExpression", "start": 4, "end": 8, "loc": { "start": { "line": 1, "column": 4 }, "end": { "line": 1, "column": 8 } } } } ] }, "right": { "type": "NumericLiteral", "start": 10, "end": 11, "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 11 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "extra": { "parenthesized": true, "parenStart": 0 } } } ], "directives": [] } }