{ "type": "File", "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}}, "errors": [ "SyntaxError: Object pattern can't contain getter or setter. (1:7)" ], "program": { "type": "Program", "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "ExpressionStatement", "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}}, "expression": { "type": "ArrowFunctionExpression", "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}}, "id": null, "generator": false, "async": false, "params": [ { "type": "ObjectPattern", "start":1,"end":19,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":19,"index":19}}, "properties": [ { "type": "ObjectMethod", "start":3,"end":17,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":17,"index":17}}, "method": false, "key": { "type": "Identifier", "start":7,"end":11,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":11,"index":11},"identifierName":"test"}, "name": "test" }, "computed": false, "kind": "get", "id": null, "generator": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17}}, "body": [], "directives": [] } } ] } ], "body": { "type": "NumericLiteral", "start":24,"end":26,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":26,"index":26}}, "extra": { "rawValue": 42, "raw": "42" }, "value": 42 } } } ], "directives": [] } }