{ "type": "Program", "body": [ { "type": "ExpressionStatement", "expression": { "type": "ObjectExpression", "properties": [ { "type": "Property", "key": { "type": "Identifier", "name": "x", "range": [ 2, 3 ], "loc": { "start": { "line": 1, "column": 2 }, "end": { "line": 1, "column": 3 } } }, "computed": false, "value": { "type": "FunctionExpression", "id": null, "params": [ { "type": "Identifier", "name": "eval", "range": [ 4, 8 ], "loc": { "start": { "line": 1, "column": 4 }, "end": { "line": 1, "column": 8 } } } ], "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, 22 ], "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 22 } } } ], "range": [ 9, 23 ], "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 23 } } }, "generator": false, "expression": false, "async": false, "range": [ 3, 23 ], "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 23 } } }, "kind": "init", "method": true, "shorthand": false, "range": [ 2, 23 ], "loc": { "start": { "line": 1, "column": 2 }, "end": { "line": 1, "column": 23 } } } ], "range": [ 1, 24 ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 24 } } }, "range": [ 0, 25 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 25 } } } ], "sourceType": "script", "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": "Identifier", "value": "x", "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": "Identifier", "value": "eval", "range": [ 4, 8 ], "loc": { "start": { "line": 1, "column": 4 }, "end": { "line": 1, "column": 8 } } }, { "type": "Punctuator", "value": ")", "range": [ 8, 9 ], "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 9 } } }, { "type": "Punctuator", "value": "{", "range": [ 9, 10 ], "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 10 } } }, { "type": "String", "value": "\"use strict\"", "range": [ 10, 22 ], "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 22 } } }, { "type": "Punctuator", "value": "}", "range": [ 22, 23 ], "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 23 } } }, { "type": "Punctuator", "value": "}", "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 } } } ], "errors": [ { "index": 4, "lineNumber": 1, "column": 5, "message": "Error: Line 1: Parameter name eval or arguments is not allowed in strict mode" } ], "range": [ 0, 25 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 25 } } }