{ "type": "File", "start":0,"end":57,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":57}}, "errors": [ "SyntaxError: Invalid left-hand side in for-of statement. (2:13)" ], "program": { "type": "Program", "start":0,"end":57,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":57}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "FunctionDeclaration", "start":0,"end":57,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":57}}, "id": { "type": "Identifier", "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"f"}, "name": "f" }, "generator": false, "async": true, "params": [], "body": { "type": "BlockStatement", "start":19,"end":57,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":3,"column":1,"index":57}}, "body": [ { "type": "ForOfStatement", "start":23,"end":55,"loc":{"start":{"line":2,"column":2,"index":23},"end":{"line":2,"column":34,"index":55}}, "await": true, "left": { "type": "ArrowFunctionExpression", "start":34,"end":48,"loc":{"start":{"line":2,"column":13,"index":34},"end":{"line":2,"column":27,"index":48}}, "id": null, "generator": false, "async": true, "params": [ { "type": "Identifier", "start":40,"end":42,"loc":{"start":{"line":2,"column":19,"index":40},"end":{"line":2,"column":21,"index":42},"identifierName":"of"}, "name": "of" } ], "body": { "type": "BlockStatement", "start":46,"end":48,"loc":{"start":{"line":2,"column":25,"index":46},"end":{"line":2,"column":27,"index":48}}, "body": [], "directives": [] } }, "right": { "type": "Identifier", "start":52,"end":53,"loc":{"start":{"line":2,"column":31,"index":52},"end":{"line":2,"column":32,"index":53},"identifierName":"x"}, "name": "x" }, "body": { "type": "EmptyStatement", "start":54,"end":55,"loc":{"start":{"line":2,"column":33,"index":54},"end":{"line":2,"column":34,"index":55}} } } ], "directives": [] } } ], "directives": [] } }