74 lines
2.6 KiB
JSON
74 lines
2.6 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":48,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":48}},
|
|
"errors": [
|
|
"SyntaxError: Binding 'eval' in strict mode (1:36)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":48,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":48}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":48,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":48}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":9,"end":14,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":14},"identifierName":"hello"},
|
|
"name": "hello"
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":17,"end":48,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":48}},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":32,"end":46,"loc":{"start":{"line":1,"column":32},"end":{"line":1,"column":46}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":36,"end":45,"loc":{"start":{"line":1,"column":36},"end":{"line":1,"column":45}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":36,"end":40,"loc":{"start":{"line":1,"column":36},"end":{"line":1,"column":40},"identifierName":"eval"},
|
|
"name": "eval"
|
|
},
|
|
"init": {
|
|
"type": "NumericLiteral",
|
|
"start":43,"end":45,"loc":{"start":{"line":1,"column":43},"end":{"line":1,"column":45}},
|
|
"extra": {
|
|
"rawValue": 10,
|
|
"raw": "10"
|
|
},
|
|
"value": 10
|
|
}
|
|
}
|
|
],
|
|
"kind": "var"
|
|
}
|
|
],
|
|
"directives": [
|
|
{
|
|
"type": "Directive",
|
|
"start":18,"end":31,"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":31}},
|
|
"value": {
|
|
"type": "DirectiveLiteral",
|
|
"start":18,"end":30,"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":30}},
|
|
"value": "use strict",
|
|
"extra": {
|
|
"raw": "'use strict'",
|
|
"rawValue": "use strict"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |