{ "type": "Program", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "FunctionExpression", "id": null, "params": [], "body": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "Literal", "value": "use strict", "raw": "'use strict'", "range": [ 15, 27 ], "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 1, "column": 27 } } }, "directive": "use strict", "range": [ 15, 28 ], "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 1, "column": 28 } } }, { "type": "ExpressionStatement", "expression": { "type": "Literal", "value": 17, "raw": "021", "range": [ 29, 32 ], "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 32 } } }, "range": [ 29, 33 ], "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 33 } } } ], "range": [ 13, 34 ], "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 34 } } }, "generator": false, "expression": false, "async": false, "range": [ 1, 34 ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 34 } } }, "arguments": [], "range": [ 1, 36 ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 36 } } }, "range": [ 0, 37 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 37 } } } ], "sourceType": "script", "tokens": [ { "type": "Punctuator", "value": "(", "range": [ 0, 1 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 1 } } }, { "type": "Keyword", "value": "function", "range": [ 1, 9 ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 9 } } }, { "type": "Punctuator", "value": "(", "range": [ 10, 11 ], "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 11 } } }, { "type": "Punctuator", "value": ")", "range": [ 11, 12 ], "loc": { "start": { "line": 1, "column": 11 }, "end": { "line": 1, "column": 12 } } }, { "type": "Punctuator", "value": "{", "range": [ 13, 14 ], "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 14 } } }, { "type": "String", "value": "'use strict'", "range": [ 15, 27 ], "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 1, "column": 27 } } }, { "type": "Punctuator", "value": ";", "range": [ 27, 28 ], "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 28 } } }, { "type": "Numeric", "value": "021", "range": [ 29, 32 ], "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 32 } } }, { "type": "Punctuator", "value": "}", "range": [ 33, 34 ], "loc": { "start": { "line": 1, "column": 33 }, "end": { "line": 1, "column": 34 } } }, { "type": "Punctuator", "value": "(", "range": [ 34, 35 ], "loc": { "start": { "line": 1, "column": 34 }, "end": { "line": 1, "column": 35 } } }, { "type": "Punctuator", "value": ")", "range": [ 35, 36 ], "loc": { "start": { "line": 1, "column": 35 }, "end": { "line": 1, "column": 36 } } }, { "type": "Punctuator", "value": ")", "range": [ 36, 37 ], "loc": { "start": { "line": 1, "column": 36 }, "end": { "line": 1, "column": 37 } } } ], "errors": [ { "index": 29, "lineNumber": 1, "column": 30, "message": "Error: Line 1: Octal literals are not allowed in strict mode." } ], "range": [ 0, 37 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 37 } } }