{ "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": "eval", "range": [ 23, 27 ], "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 27 } } }, "params": [], "body": { "type": "BlockStatement", "body": [], "range": [ 30, 32 ], "loc": { "start": { "line": 1, "column": 30 }, "end": { "line": 1, "column": 32 } } }, "generator": false, "expression": false, "async": false, "range": [ 14, 32 ], "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 32 } } }, { "type": "EmptyStatement", "range": [ 32, 33 ], "loc": { "start": { "line": 1, "column": 32 }, "end": { "line": 1, "column": 33 } } } ], "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": "eval", "range": [ 23, 27 ], "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 27 } } }, { "type": "Punctuator", "value": "(", "range": [ 27, 28 ], "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 28 } } }, { "type": "Punctuator", "value": ")", "range": [ 28, 29 ], "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 29 } } }, { "type": "Punctuator", "value": "{", "range": [ 30, 31 ], "loc": { "start": { "line": 1, "column": 30 }, "end": { "line": 1, "column": 31 } } }, { "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 } } } ], "errors": [ { "index": 23, "lineNumber": 1, "column": 24, "message": "Error: Line 1: Function name may not be eval or arguments in strict mode" } ], "range": [ 0, 33 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 33 } } }