{ "type": "File", "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}}, "errors": [ "SyntaxError: Unexpected keyword 'const'. (1:11)", "SyntaxError: Unexpected keyword 'if'. (1:18)", "SyntaxError: Unexpected keyword 'this'. (1:22)" ], "program": { "type": "Program", "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "VariableDeclaration", "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}}, "declarations": [ { "type": "VariableDeclarator", "start":4,"end":29,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":29,"index":29}}, "id": { "type": "Identifier", "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"x"}, "name": "x" }, "init": { "type": "ObjectExpression", "start":9,"end":28,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":28,"index":28}}, "properties": [ { "type": "ObjectProperty", "start":11,"end":16,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":16,"index":16}}, "method": false, "key": { "type": "Identifier", "start":11,"end":16,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":16,"index":16},"identifierName":"const"}, "name": "const" }, "computed": false, "shorthand": true, "value": { "type": "Identifier", "start":11,"end":16,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":16,"index":16},"identifierName":"const"}, "name": "const" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start":18,"end":20,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":20,"index":20}}, "method": false, "key": { "type": "Identifier", "start":18,"end":20,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":20,"index":20},"identifierName":"if"}, "name": "if" }, "computed": false, "shorthand": true, "value": { "type": "Identifier", "start":18,"end":20,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":20,"index":20},"identifierName":"if"}, "name": "if" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start":22,"end":26,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":26,"index":26}}, "method": false, "key": { "type": "Identifier", "start":22,"end":26,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":26,"index":26},"identifierName":"this"}, "name": "this" }, "computed": false, "shorthand": true, "value": { "type": "Identifier", "start":22,"end":26,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":26,"index":26},"identifierName":"this"}, "name": "this" }, "extra": { "shorthand": true } } ], "extra": { "parenthesized": true, "parenStart": 8 } } } ], "kind": "var" } ], "directives": [] } }