{ "type": "File", "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}}, "errors": [ "SyntaxError: 'for-of' loop variable declaration may not have an initializer. (1:5)" ], "program": { "type": "Program", "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "ForOfStatement", "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}}, "await": false, "left": { "type": "VariableDeclaration", "start":5,"end":16,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":16,"index":16}}, "declarations": [ { "type": "VariableDeclarator", "start":11,"end":16,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":16,"index":16}}, "id": { "type": "Identifier", "start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12},"identifierName":"x"}, "name": "x" }, "init": { "type": "NumericLiteral", "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16}}, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ], "kind": "const" }, "right": { "type": "Identifier", "start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21},"identifierName":"y"}, "name": "y" }, "body": { "type": "EmptyStatement", "start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23}} } } ], "directives": [] } }