{ "type": "File", "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}}, "errors": [ "SyntaxError: Binding 'yield' in strict mode. (1:12)" ], "program": { "type": "Program", "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "FunctionDeclaration", "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}}, "id": { "type": "Identifier", "start":9,"end":11,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":11,"index":11},"identifierName":"fn"}, "name": "fn" }, "generator": false, "async": false, "params": [ { "type": "Identifier", "start":12,"end":17,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":17,"index":17},"identifierName":"yield"}, "name": "yield" } ], "body": { "type": "BlockStatement", "start":19,"end":36,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":36,"index":36}}, "body": [], "directives": [ { "type": "Directive", "start":21,"end":34,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":34,"index":34}}, "value": { "type": "DirectiveLiteral", "start":21,"end":33,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":33,"index":33}}, "extra": { "rawValue": "use strict", "raw": "\"use strict\"", "expressionValue": "use strict" }, "value": "use strict" } } ] } } ], "directives": [] } }