| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: Missing initializer in destructuring declaration. (1:7)" |
| 6 | ], |
| 7 | "program": { |
| 8 | "type": "Program", |
| 9 | "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}}, |
| 10 | "sourceType": "script", |
| 11 | "interpreter": null, |
| 12 | "body": [ |
| 13 | { |
| 14 | "type": "VariableDeclaration", |
| 15 | "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}}, |
| 16 | "declarations": [ |
| 17 | { |
| 18 | "type": "VariableDeclarator", |
| 19 | "start":4,"end":7,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":7,"index":7}}, |
| 20 | "id": { |
| 21 | "type": "ArrayPattern", |
| 22 | "start":4,"end":7,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":7,"index":7}}, |
| 23 | "elements": [ |
| 24 | { |
| 25 | "type": "Identifier", |
| 26 | "start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6},"identifierName":"x"}, |
| 27 | "name": "x" |
| 28 | } |
| 29 | ] |
| 30 | }, |
| 31 | "init": null |
| 32 | } |
| 33 | ], |
| 34 | "kind": "var" |
| 35 | } |
| 36 | ], |
| 37 | "directives": [] |
| 38 | } |
| 39 | } |