{ "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": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "eval", "range": [ 14, 18 ], "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 18 } } }, "right": { "type": "Literal", "value": 0, "raw": "0", "range": [ 21, 22 ], "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 22 } } }, "range": [ 14, 22 ], "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 22 } } }, "range": [ 14, 23 ], "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 23 } } } ], "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": "Identifier", "value": "eval", "range": [ 14, 18 ], "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 18 } } }, { "type": "Punctuator", "value": "=", "range": [ 19, 20 ], "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 20 } } }, { "type": "Numeric", "value": "0", "range": [ 21, 22 ], "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 22 } } }, { "type": "Punctuator", "value": ";", "range": [ 22, 23 ], "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 23 } } } ], "errors": [ { "index": 14, "lineNumber": 1, "column": 15, "message": "Error: Line 1: Assignment to eval or arguments is not allowed in strict mode" } ], "range": [ 0, 23 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 23 } } }