2021-01-15 13:30:44 +03:00
|
|
|
|
{
|
|
|
|
|
"type": "Script",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 320,
|
|
|
|
|
"end": 553,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"body": [
|
|
|
|
|
{
|
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 320,
|
|
|
|
|
"end": 355,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"expression": {
|
|
|
|
|
"type": "CallExpression",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 320,
|
|
|
|
|
"end": 354,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"callee": {
|
|
|
|
|
"type": "Identifier",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 320,
|
|
|
|
|
"end": 324,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"value": "eval",
|
|
|
|
|
"optional": false
|
|
|
|
|
},
|
|
|
|
|
"arguments": [
|
|
|
|
|
{
|
|
|
|
|
"spread": null,
|
|
|
|
|
"expression": {
|
|
|
|
|
"type": "StringLiteral",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 325,
|
|
|
|
|
"end": 353,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"value": " var x = 1 ",
|
2022-03-22 10:54:08 +03:00
|
|
|
|
"raw": "\"\\u00A0var x\\u00A0= 1\\u00A0\""
|
2021-01-15 13:30:44 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"typeArguments": null
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "IfStatement",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 356,
|
|
|
|
|
"end": 452,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"test": {
|
|
|
|
|
"type": "BinaryExpression",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 360,
|
|
|
|
|
"end": 367,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"operator": "!==",
|
|
|
|
|
"left": {
|
|
|
|
|
"type": "Identifier",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 360,
|
|
|
|
|
"end": 361,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"value": "x",
|
|
|
|
|
"optional": false
|
|
|
|
|
},
|
|
|
|
|
"right": {
|
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 366,
|
|
|
|
|
"end": 367,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
|
"value": 1.0,
|
|
|
|
|
"raw": "1"
|
2021-01-15 13:30:44 +03:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"consequent": {
|
|
|
|
|
"type": "BlockStatement",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 369,
|
|
|
|
|
"end": 452,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"stmts": [
|
|
|
|
|
{
|
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 373,
|
|
|
|
|
"end": 450,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"expression": {
|
|
|
|
|
"type": "CallExpression",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 373,
|
|
|
|
|
"end": 449,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"callee": {
|
|
|
|
|
"type": "Identifier",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 373,
|
|
|
|
|
"end": 379,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"value": "$ERROR",
|
|
|
|
|
"optional": false
|
|
|
|
|
},
|
|
|
|
|
"arguments": [
|
|
|
|
|
{
|
|
|
|
|
"spread": null,
|
|
|
|
|
"expression": {
|
|
|
|
|
"type": "BinaryExpression",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 380,
|
|
|
|
|
"end": 448,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"operator": "+",
|
|
|
|
|
"left": {
|
|
|
|
|
"type": "StringLiteral",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 380,
|
|
|
|
|
"end": 442,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"value": "#1: eval(\"\\u00A0var x\\u00A0= 1\\u00A0\"); x === 1. Actual: ",
|
2022-03-22 10:54:08 +03:00
|
|
|
|
"raw": "'#1: eval(\"\\\\u00A0var x\\\\u00A0= 1\\\\u00A0\"); x === 1. Actual: '"
|
2021-01-15 13:30:44 +03:00
|
|
|
|
},
|
|
|
|
|
"right": {
|
|
|
|
|
"type": "ParenthesisExpression",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 445,
|
|
|
|
|
"end": 448,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"expression": {
|
|
|
|
|
"type": "Identifier",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 446,
|
|
|
|
|
"end": 447,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"value": "x",
|
|
|
|
|
"optional": false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"typeArguments": null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"alternate": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 466,
|
|
|
|
|
"end": 479,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"kind": "var",
|
|
|
|
|
"declare": false,
|
|
|
|
|
"declarations": [
|
|
|
|
|
{
|
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 470,
|
|
|
|
|
"end": 476,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"id": {
|
|
|
|
|
"type": "Identifier",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 470,
|
|
|
|
|
"end": 471,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"value": "x",
|
2021-02-19 09:34:22 +03:00
|
|
|
|
"optional": false,
|
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
|
},
|
|
|
|
|
"init": {
|
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 475,
|
|
|
|
|
"end": 476,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
|
"value": 1.0,
|
|
|
|
|
"raw": "1"
|
2021-01-15 13:30:44 +03:00
|
|
|
|
},
|
|
|
|
|
"definite": false
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "IfStatement",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 480,
|
|
|
|
|
"end": 553,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"test": {
|
|
|
|
|
"type": "BinaryExpression",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 484,
|
|
|
|
|
"end": 491,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"operator": "!==",
|
|
|
|
|
"left": {
|
|
|
|
|
"type": "Identifier",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 484,
|
|
|
|
|
"end": 485,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"value": "x",
|
|
|
|
|
"optional": false
|
|
|
|
|
},
|
|
|
|
|
"right": {
|
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 490,
|
|
|
|
|
"end": 491,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
|
"value": 1.0,
|
|
|
|
|
"raw": "1"
|
2021-01-15 13:30:44 +03:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"consequent": {
|
|
|
|
|
"type": "BlockStatement",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 493,
|
|
|
|
|
"end": 553,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"stmts": [
|
|
|
|
|
{
|
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 497,
|
|
|
|
|
"end": 551,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"expression": {
|
|
|
|
|
"type": "CallExpression",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 497,
|
|
|
|
|
"end": 550,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"callee": {
|
|
|
|
|
"type": "Identifier",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 497,
|
|
|
|
|
"end": 503,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"value": "$ERROR",
|
|
|
|
|
"optional": false
|
|
|
|
|
},
|
|
|
|
|
"arguments": [
|
|
|
|
|
{
|
|
|
|
|
"spread": null,
|
|
|
|
|
"expression": {
|
|
|
|
|
"type": "BinaryExpression",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 504,
|
|
|
|
|
"end": 549,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"operator": "+",
|
|
|
|
|
"left": {
|
|
|
|
|
"type": "StringLiteral",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 504,
|
|
|
|
|
"end": 543,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"value": "#2: var x = 1 ; x === 1. Actual: ",
|
2022-03-22 10:54:08 +03:00
|
|
|
|
"raw": "'#2: var x = 1 ; x === 1. Actual: '"
|
2021-01-15 13:30:44 +03:00
|
|
|
|
},
|
|
|
|
|
"right": {
|
|
|
|
|
"type": "ParenthesisExpression",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 546,
|
|
|
|
|
"end": 549,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"expression": {
|
|
|
|
|
"type": "Identifier",
|
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
|
"start": 547,
|
|
|
|
|
"end": 548,
|
2021-01-15 13:30:44 +03:00
|
|
|
|
"ctxt": 0
|
|
|
|
|
},
|
|
|
|
|
"value": "x",
|
|
|
|
|
"optional": false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"typeArguments": null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"alternate": null
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"interpreter": null
|
|
|
|
|
}
|