{ "type": "Program", "body": [ { "type": "ExpressionStatement", "expression": { "type": "Literal", "value": "use strict", "raw": "\"use strict\"", "range": [ 0, 12 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 12 } } }, "directive": "use strict", "range": [ 0, 13 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 13 } } }, { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "f", "range": [ 23, 24 ], "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 24 } } }, "params": [ { "type": "Identifier", "name": "eval", "range": [ 25, 29 ], "loc": { "start": { "line": 1, "column": 25 }, "end": { "line": 1, "column": 29 } } } ], "body": { "type": "BlockStatement", "body": [], "range": [ 31, 33 ], "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 33 } } }, "generator": false, "expression": false, "async": false, "range": [ 14, 33 ], "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 33 } } }, { "type": "EmptyStatement", "range": [ 33, 34 ], "loc": { "start": { "line": 1, "column": 33 }, "end": { "line": 1, "column": 34 } } } ], "sourceType": "script", "tokens": [ { "type": "String", "value": "\"use strict\"", "range": [ 0, 12 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 12 } } }, { "type": "Punctuator", "value": ";", "range": [ 12, 13 ], "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 13 } } }, { "type": "Keyword", "value": "function", "range": [ 14, 22 ], "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 22 } } }, { "type": "Identifier", "value": "f", "range": [ 23, 24 ], "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 24 } } }, { "type": "Punctuator", "value": "(", "range": [ 24, 25 ], "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 25 } } }, { "type": "Identifier", "value": "eval", "range": [ 25, 29 ], "loc": { "start": { "line": 1, "column": 25 }, "end": { "line": 1, "column": 29 } } }, { "type": "Punctuator", "value": ")", "range": [ 29, 30 ], "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 30 } } }, { "type": "Punctuator", "value": "{", "range": [ 31, 32 ], "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 32 } } }, { "type": "Punctuator", "value": "}", "range": [ 32, 33 ], "loc": { "start": { "line": 1, "column": 32 }, "end": { "line": 1, "column": 33 } } }, { "type": "Punctuator", "value": ";", "range": [ 33, 34 ], "loc": { "start": { "line": 1, "column": 33 }, "end": { "line": 1, "column": 34 } } } ], "errors": [ { "index": 25, "lineNumber": 1, "column": 26, "message": "Error: Line 1: Parameter name eval or arguments is not allowed in strict mode" } ], "range": [ 0, 34 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 34 } } }