{ "type": "File", "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}}, "errors": [ "SyntaxError: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. (1:10)" ], "program": { "type": "Program", "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "VariableDeclaration", "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}}, "declarations": [ { "type": "VariableDeclarator", "start":6,"end":19,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":19,"index":19}}, "id": { "type": "ArrayPattern", "start":6,"end":14,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":14,"index":14}}, "elements": [ { "type": "RestElement", "start":7,"end":13,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":13,"index":13}}, "argument": { "type": "Identifier", "start":10,"end":13,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":13,"index":13},"identifierName":"let"}, "name": "let" } } ] }, "init": { "type": "ArrayExpression", "start":17,"end":19,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":19,"index":19}}, "elements": [] } } ], "kind": "const" } ], "directives": [] } }