75 lines
2.7 KiB
JSON
75 lines
2.7 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":58,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":58}},
|
|
"errors": [
|
|
"SyntaxError: Binding 'eval' in strict mode (1:47)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":58,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":58}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":58,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":58}},
|
|
"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":58,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":58}},
|
|
"body": [
|
|
{
|
|
"type": "TryStatement",
|
|
"start":32,"end":56,"loc":{"start":{"line":1,"column":32},"end":{"line":1,"column":56}},
|
|
"block": {
|
|
"type": "BlockStatement",
|
|
"start":36,"end":39,"loc":{"start":{"line":1,"column":36},"end":{"line":1,"column":39}},
|
|
"body": [],
|
|
"directives": []
|
|
},
|
|
"handler": {
|
|
"type": "CatchClause",
|
|
"start":40,"end":56,"loc":{"start":{"line":1,"column":40},"end":{"line":1,"column":56}},
|
|
"param": {
|
|
"type": "Identifier",
|
|
"start":47,"end":51,"loc":{"start":{"line":1,"column":47},"end":{"line":1,"column":51},"identifierName":"eval"},
|
|
"name": "eval"
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":53,"end":56,"loc":{"start":{"line":1,"column":53},"end":{"line":1,"column":56}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
"finalizer": null
|
|
}
|
|
],
|
|
"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": []
|
|
}
|
|
} |