{ "type": "Program", "body": [ { "type": "ExpressionStatement", "expression": { "type": "ArrowFunctionExpression", "id": null, "params": [ { "type": "ArrayPattern", "elements": [], "range": [ 1, 3 ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 3 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "Literal", "value": "use strict", "raw": "\"use strict\"", "range": [ 10, 22 ], "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 22 } } }, "directive": "use strict", "range": [ 10, 23 ], "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 23 } } } ], "range": [ 8, 24 ], "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 24 } } }, "generator": false, "expression": false, "async": false, "range": [ 0, 24 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 24 } } }, "range": [ 0, 24 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 24 } } } ], "sourceType": "script", "range": [ 0, 24 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 24 } }, "tokens": [ { "type": "Punctuator", "value": "(", "range": [ 0, 1 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 1 } } }, { "type": "Punctuator", "value": "[", "range": [ 1, 2 ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 2 } } }, { "type": "Punctuator", "value": "]", "range": [ 2, 3 ], "loc": { "start": { "line": 1, "column": 2 }, "end": { "line": 1, "column": 3 } } }, { "type": "Punctuator", "value": ")", "range": [ 3, 4 ], "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 4 } } }, { "type": "Punctuator", "value": "=>", "range": [ 5, 7 ], "loc": { "start": { "line": 1, "column": 5 }, "end": { "line": 1, "column": 7 } } }, { "type": "Punctuator", "value": "{", "range": [ 8, 9 ], "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 9 } } }, { "type": "String", "value": "\"use strict\"", "range": [ 10, 22 ], "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 22 } } }, { "type": "Punctuator", "value": "}", "range": [ 23, 24 ], "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 24 } } } ], "errors": [ { "index": 10, "lineNumber": 1, "column": 11, "message": "Error: Line 1: Illegal 'use strict' directive in function with non-simple parameter list" } ] }