{ "type": "File", "start": 0, "end": 24, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 24 } }, "errors": [ "SyntaxError: for-in loop variable declaration may not have an initializer (1:5)" ], "program": { "type": "Program", "start": 0, "end": 24, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 24 } }, "sourceType": "script", "interpreter": null, "body": [ { "type": "ForInStatement", "start": 0, "end": 24, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 24 } }, "left": { "type": "VariableDeclaration", "start": 5, "end": 16, "loc": { "start": { "line": 1, "column": 5 }, "end": { "line": 1, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9, "end": 16, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 16 } }, "id": { "type": "ArrayPattern", "start": 9, "end": 12, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 12 } }, "elements": [ { "type": "Identifier", "start": 10, "end": 11, "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 11 }, "identifierName": "a" }, "name": "a" } ] }, "init": { "type": "NumericLiteral", "start": 15, "end": 16, "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 1, "column": 16 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "var" }, "right": { "type": "ObjectExpression", "start": 20, "end": 22, "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 22 } }, "properties": [] }, "body": { "type": "EmptyStatement", "start": 23, "end": 24, "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 24 } } } } ], "directives": [] } }