{ "type": "File", "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}}, "program": { "type": "Program", "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "ExpressionStatement", "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}}, "expression": { "type": "ObjectExpression", "start":1,"end":21,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":21,"index":21}}, "properties": [ { "type": "ObjectMethod", "start":3,"end":19,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":19,"index":19}}, "method": true, "key": { "type": "Identifier", "start":3,"end":4,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":4,"index":4},"identifierName":"x"}, "name": "x" }, "computed": false, "kind": "method", "id": null, "generator": false, "async": false, "params": [ { "type": "RestElement", "start":5,"end":16,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":16,"index":16}}, "argument": { "type": "ArrayPattern", "start":8,"end":16,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":16,"index":16}}, "elements": [ { "type": "Identifier", "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"a"}, "name": "a" }, { "type": "Identifier", "start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14},"identifierName":"b"}, "name": "b" } ] } } ], "body": { "type": "BlockStatement", "start":17,"end":19,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":19,"index":19}}, "body": [], "directives": [] } } ], "extra": { "parenthesized": true, "parenStart": 0 } } } ], "directives": [] } }