| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: Assigning to 'eval' in strict mode. (1:18)" |
| 6 | ], |
| 7 | "program": { |
| 8 | "type": "Program", |
| 9 | "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}}, |
| 10 | "sourceType": "script", |
| 11 | "interpreter": null, |
| 12 | "body": [ |
| 13 | { |
| 14 | "type": "ExpressionStatement", |
| 15 | "start":14,"end":29,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":29,"index":29}}, |
| 16 | "expression": { |
| 17 | "type": "AssignmentExpression", |
| 18 | "start":14,"end":29,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":29,"index":29}}, |
| 19 | "operator": "=", |
| 20 | "left": { |
| 21 | "type": "ArrayPattern", |
| 22 | "start":14,"end":23,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":23,"index":23}}, |
| 23 | "elements": [ |
| 24 | { |
| 25 | "type": "RestElement", |
| 26 | "start":15,"end":22,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":22,"index":22}}, |
| 27 | "argument": { |
| 28 | "type": "Identifier", |
| 29 | "start":18,"end":22,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":22,"index":22},"identifierName":"eval"}, |
| 30 | "name": "eval" |
| 31 | } |
| 32 | } |
| 33 | ] |
| 34 | }, |
| 35 | "right": { |
| 36 | "type": "Identifier", |
| 37 | "start":26,"end":29,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":29,"index":29},"identifierName":"arr"}, |
| 38 | "name": "arr" |
| 39 | } |
| 40 | } |
| 41 | } |
| 42 | ], |
| 43 | "directives": [ |
| 44 | { |
| 45 | "type": "Directive", |
| 46 | "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}}, |
| 47 | "value": { |
| 48 | "type": "DirectiveLiteral", |
| 49 | "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}}, |
| 50 | "extra": { |
| 51 | "rawValue": "use strict", |
| 52 | "raw": "'use strict'", |
| 53 | "expressionValue": "use strict" |
| 54 | }, |
| 55 | "value": "use strict" |
| 56 | } |
| 57 | } |
| 58 | ] |
| 59 | } |
| 60 | } |