| 1 |
{ |
| 2 |
"type": "FunctionExpression", |
| 3 |
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}}, |
| 4 |
"id": null, |
| 5 |
"generator": false, |
| 6 |
"async": false, |
| 7 |
"params": [ |
| 8 |
{ |
| 9 |
"type": "AssignmentPattern", |
| 10 |
"start":10,"end":23,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":23,"index":23}}, |
| 11 |
"left": { |
| 12 |
"type": "Identifier", |
| 13 |
"start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"a"}, |
| 14 |
"name": "a" |
| 15 |
}, |
| 16 |
"right": { |
| 17 |
"type": "StringLiteral", |
| 18 |
"start":14,"end":23,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":23,"index":23}}, |
| 19 |
"extra": { |
| 20 |
"rawValue": "default", |
| 21 |
"raw": "\"default\"" |
| 22 |
}, |
| 23 |
"value": "default" |
| 24 |
} |
| 25 |
} |
| 26 |
], |
| 27 |
"body": { |
| 28 |
"type": "BlockStatement", |
| 29 |
"start":25,"end":40,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":40,"index":40}}, |
| 30 |
"body": [], |
| 31 |
"directives": [ |
| 32 |
{ |
| 33 |
"type": "Directive", |
| 34 |
"start":26,"end":39,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":39,"index":39}}, |
| 35 |
"value": { |
| 36 |
"type": "DirectiveLiteral", |
| 37 |
"start":26,"end":38,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":38,"index":38}}, |
| 38 |
"extra": { |
| 39 |
"rawValue": "use strict", |
| 40 |
"raw": "\"use strict\"", |
| 41 |
"expressionValue": "use strict" |
| 42 |
}, |
| 43 |
"value": "use strict" |
| 44 |
} |
| 45 |
} |
| 46 |
] |
| 47 |
}, |
| 48 |
"errors": [ |
| 49 |
"SyntaxError: Illegal 'use strict' directive in function with non-simple parameter list. (1:0)" |
| 50 |
] |
| 51 |
} |