| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: 'for-in' loop variable declaration may not have an initializer. (1:5)" |
| 6 | ], |
| 7 | "program": { |
| 8 | "type": "Program", |
| 9 | "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}}, |
| 10 | "sourceType": "script", |
| 11 | "interpreter": null, |
| 12 | "body": [ |
| 13 | { |
| 14 | "type": "ForInStatement", |
| 15 | "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}}, |
| 16 | "left": { |
| 17 | "type": "VariableDeclaration", |
| 18 | "start":5,"end":14,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":14,"index":14}}, |
| 19 | "declarations": [ |
| 20 | { |
| 21 | "type": "VariableDeclarator", |
| 22 | "start":9,"end":14,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":14,"index":14}}, |
| 23 | "id": { |
| 24 | "type": "Identifier", |
| 25 | "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"a"}, |
| 26 | "name": "a" |
| 27 | }, |
| 28 | "init": { |
| 29 | "type": "NumericLiteral", |
| 30 | "start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14}}, |
| 31 | "extra": { |
| 32 | "rawValue": 0, |
| 33 | "raw": "0" |
| 34 | }, |
| 35 | "value": 0 |
| 36 | } |
| 37 | } |
| 38 | ], |
| 39 | "kind": "let" |
| 40 | }, |
| 41 | "right": { |
| 42 | "type": "ObjectExpression", |
| 43 | "start":18,"end":20,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":20,"index":20}}, |
| 44 | "properties": [] |
| 45 | }, |
| 46 | "body": { |
| 47 | "type": "EmptyStatement", |
| 48 | "start":21,"end":22,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":22,"index":22}} |
| 49 | } |
| 50 | } |
| 51 | ], |
| 52 | "directives": [] |
| 53 | } |
| 54 | } |