{ "type": "File", "start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":50}}, "errors": [ "SyntaxError: Illegal 'use strict' directive in function with non-simple parameter list. (1:0)" ], "program": { "type": "Program", "start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":50}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "FunctionDeclaration", "start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":50}}, "id": { "type": "Identifier", "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"a"}, "name": "a" }, "generator": false, "async": true, "params": [ { "type": "AssignmentPattern", "start":17,"end":29,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":29,"index":29}}, "left": { "type": "Identifier", "start":17,"end":24,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":24,"index":24},"identifierName":"options"}, "name": "options" }, "right": { "type": "ObjectExpression", "start":27,"end":29,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":29,"index":29}}, "properties": [] } } ], "body": { "type": "BlockStatement", "start":31,"end":50,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":3,"column":1,"index":50}}, "body": [], "directives": [ { "type": "Directive", "start":35,"end":48,"loc":{"start":{"line":2,"column":2,"index":35},"end":{"line":2,"column":15,"index":48}}, "value": { "type": "DirectiveLiteral", "start":35,"end":47,"loc":{"start":{"line":2,"column":2,"index":35},"end":{"line":2,"column":14,"index":47}}, "extra": { "rawValue": "use strict", "raw": "\"use strict\"", "expressionValue": "use strict" }, "value": "use strict" } } ] } } ], "directives": [] } }