{ "type": "File", "start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":42}}, "errors": [ "SyntaxError: Illegal 'use strict' directive in function with non-simple parameter list. (1:0)" ], "program": { "type": "Program", "start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":42}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "FunctionDeclaration", "start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":42}}, "id": { "type": "Identifier", "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"a"}, "name": "a" }, "generator": false, "async": false, "params": [ { "type": "RestElement", "start":11,"end":21,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":21,"index":21}}, "argument": { "type": "Identifier", "start":14,"end":21,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":21,"index":21},"identifierName":"options"}, "name": "options" } } ], "body": { "type": "BlockStatement", "start":23,"end":42,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":3,"column":1,"index":42}}, "body": [], "directives": [ { "type": "Directive", "start":27,"end":40,"loc":{"start":{"line":2,"column":2,"index":27},"end":{"line":2,"column":15,"index":40}}, "value": { "type": "DirectiveLiteral", "start":27,"end":39,"loc":{"start":{"line":2,"column":2,"index":27},"end":{"line":2,"column":14,"index":39}}, "extra": { "rawValue": "use strict", "raw": "\"use strict\"", "expressionValue": "use strict" }, "value": "use strict" } } ] } } ], "directives": [] } }