| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":33}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. (2:6)" |
| 6 | ], |
| 7 | "program": { |
| 8 | "type": "Program", |
| 9 | "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":33}}, |
| 10 | "sourceType": "script", |
| 11 | "interpreter": null, |
| 12 | "body": [ |
| 13 | { |
| 14 | "type": "TryStatement", |
| 15 | "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":33}}, |
| 16 | "block": { |
| 17 | "type": "BlockStatement", |
| 18 | "start":4,"end":6,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":6,"index":6}}, |
| 19 | "body": [], |
| 20 | "directives": [] |
| 21 | }, |
| 22 | "handler": { |
| 23 | "type": "CatchClause", |
| 24 | "start":7,"end":33,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":3,"column":1,"index":33}}, |
| 25 | "param": { |
| 26 | "type": "Identifier", |
| 27 | "start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17},"identifierName":"err"}, |
| 28 | "name": "err" |
| 29 | }, |
| 30 | "body": { |
| 31 | "type": "BlockStatement", |
| 32 | "start":19,"end":33,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":3,"column":1,"index":33}}, |
| 33 | "body": [ |
| 34 | { |
| 35 | "type": "VariableDeclaration", |
| 36 | "start":23,"end":31,"loc":{"start":{"line":2,"column":2,"index":23},"end":{"line":2,"column":10,"index":31}}, |
| 37 | "declarations": [ |
| 38 | { |
| 39 | "type": "VariableDeclarator", |
| 40 | "start":27,"end":30,"loc":{"start":{"line":2,"column":6,"index":27},"end":{"line":2,"column":9,"index":30}}, |
| 41 | "id": { |
| 42 | "type": "Identifier", |
| 43 | "start":27,"end":30,"loc":{"start":{"line":2,"column":6,"index":27},"end":{"line":2,"column":9,"index":30},"identifierName":"let"}, |
| 44 | "name": "let" |
| 45 | }, |
| 46 | "init": null |
| 47 | } |
| 48 | ], |
| 49 | "kind": "let" |
| 50 | } |
| 51 | ], |
| 52 | "directives": [] |
| 53 | } |
| 54 | }, |
| 55 | "finalizer": null |
| 56 | } |
| 57 | ], |
| 58 | "directives": [] |
| 59 | } |
| 60 | } |