{ "type": "Script", "span": { "start": 1, "end": 1321, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 1, "end": 19, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 5, "end": 18, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 5, "end": 9, "ctxt": 0 }, "value": "cond", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 9, "end": 18, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 11, "end": 18, "ctxt": 0 }, "kind": "boolean" } } }, "init": null, "definite": false } ] }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 29, "end": 30, "ctxt": 0 }, "value": "a", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 20, "end": 125, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 33, "end": 125, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 39, "end": 62, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 43, "end": 61, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 43, "end": 44, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 44, "end": 61, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 46, "end": 61, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 46, "end": 52, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 55, "end": 61, "ctxt": 0 }, "kind": "number" } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 67, "end": 74, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 67, "end": 73, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 67, "end": 68, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 71, "end": 73, "ctxt": 0 }, "value": "", "raw": "\"\"" } } }, { "type": "DoWhileStatement", "span": { "start": 79, "end": 123, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 118, "end": 122, "ctxt": 0 }, "value": "cond", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 82, "end": 110, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 92, "end": 94, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 92, "end": 93, "ctxt": 0 }, "value": "x", "optional": false } } ] } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 135, "end": 136, "ctxt": 0 }, "value": "b", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 126, "end": 262, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 139, "end": 262, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 145, "end": 168, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 149, "end": 167, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 149, "end": 150, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 150, "end": 167, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 152, "end": 167, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 152, "end": 158, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 161, "end": 167, "ctxt": 0 }, "kind": "number" } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 173, "end": 180, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 173, "end": 179, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 173, "end": 174, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 177, "end": 179, "ctxt": 0 }, "value": "", "raw": "\"\"" } } }, { "type": "DoWhileStatement", "span": { "start": 185, "end": 260, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 255, "end": 259, "ctxt": 0 }, "value": "cond", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 188, "end": 247, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 198, "end": 200, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 198, "end": 199, "ctxt": 0 }, "value": "x", "optional": false } }, { "type": "ExpressionStatement", "span": { "start": 219, "end": 226, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 219, "end": 225, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 219, "end": 220, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "NumericLiteral", "span": { "start": 223, "end": 225, "ctxt": 0 }, "value": 42.0, "raw": "42" } } }, { "type": "BreakStatement", "span": { "start": 235, "end": 241, "ctxt": 0 }, "label": null } ] } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 272, "end": 273, "ctxt": 0 }, "value": "c", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 263, "end": 451, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 276, "end": 451, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 282, "end": 305, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 286, "end": 304, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 286, "end": 287, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 287, "end": 304, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 289, "end": 304, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 289, "end": 295, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 298, "end": 304, "ctxt": 0 }, "kind": "number" } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 310, "end": 317, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 310, "end": 316, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 310, "end": 311, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 314, "end": 316, "ctxt": 0 }, "value": "", "raw": "\"\"" } } }, { "type": "DoWhileStatement", "span": { "start": 322, "end": 449, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 444, "end": 448, "ctxt": 0 }, "value": "cond", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 325, "end": 436, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 335, "end": 337, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 335, "end": 336, "ctxt": 0 }, "value": "x", "optional": false } }, { "type": "ExpressionStatement", "span": { "start": 356, "end": 370, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 356, "end": 369, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 356, "end": 357, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 360, "end": 369, "ctxt": 0 }, "value": "undefined", "optional": false } } }, { "type": "IfStatement", "span": { "start": 379, "end": 415, "ctxt": 0 }, "test": { "type": "BinaryExpression", "span": { "start": 383, "end": 404, "ctxt": 0 }, "operator": "===", "left": { "type": "UnaryExpression", "span": { "start": 383, "end": 391, "ctxt": 0 }, "operator": "typeof", "argument": { "type": "Identifier", "span": { "start": 390, "end": 391, "ctxt": 0 }, "value": "x", "optional": false } }, "right": { "type": "StringLiteral", "span": { "start": 396, "end": 404, "ctxt": 0 }, "value": "string", "raw": "\"string\"" } }, "consequent": { "type": "ContinueStatement", "span": { "start": 406, "end": 415, "ctxt": 0 }, "label": null }, "alternate": null }, { "type": "BreakStatement", "span": { "start": 424, "end": 430, "ctxt": 0 }, "label": null } ] } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 461, "end": 462, "ctxt": 0 }, "value": "d", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 452, "end": 600, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 465, "end": 600, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 471, "end": 494, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 475, "end": 493, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 475, "end": 476, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 476, "end": 493, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 478, "end": 493, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 478, "end": 484, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 487, "end": 493, "ctxt": 0 }, "kind": "number" } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 499, "end": 508, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 499, "end": 507, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 499, "end": 500, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "NumericLiteral", "span": { "start": 503, "end": 507, "ctxt": 0 }, "value": 1000.0, "raw": "1000" } } }, { "type": "DoWhileStatement", "span": { "start": 513, "end": 581, "ctxt": 0 }, "test": { "type": "AssignmentExpression", "span": { "start": 568, "end": 580, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 568, "end": 569, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "MemberExpression", "span": { "start": 572, "end": 580, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 572, "end": 573, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 574, "end": 580, "ctxt": 0 }, "value": "length", "optional": false } } }, "body": { "type": "BlockStatement", "span": { "start": 516, "end": 560, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 526, "end": 528, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 526, "end": 527, "ctxt": 0 }, "value": "x", "optional": false } }, { "type": "ExpressionStatement", "span": { "start": 547, "end": 554, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 547, "end": 553, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 547, "end": 548, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 551, "end": 553, "ctxt": 0 }, "value": "", "raw": "\"\"" } } } ] } }, { "type": "ExpressionStatement", "span": { "start": 586, "end": 588, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 586, "end": 587, "ctxt": 0 }, "value": "x", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 610, "end": 611, "ctxt": 0 }, "value": "e", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 601, "end": 718, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 614, "end": 718, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 620, "end": 643, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 624, "end": 642, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 624, "end": 625, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 625, "end": 642, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 627, "end": 642, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 627, "end": 633, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 636, "end": 642, "ctxt": 0 }, "kind": "number" } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 648, "end": 655, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 648, "end": 654, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 648, "end": 649, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 652, "end": 654, "ctxt": 0 }, "value": "", "raw": "\"\"" } } }, { "type": "DoWhileStatement", "span": { "start": 660, "end": 699, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 694, "end": 698, "ctxt": 0 }, "value": "cond", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 663, "end": 686, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 673, "end": 680, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 673, "end": 679, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 673, "end": 674, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "NumericLiteral", "span": { "start": 677, "end": 679, "ctxt": 0 }, "value": 42.0, "raw": "42" } } } ] } }, { "type": "ExpressionStatement", "span": { "start": 704, "end": 706, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 704, "end": 705, "ctxt": 0 }, "value": "x", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 728, "end": 729, "ctxt": 0 }, "value": "f", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 719, "end": 1029, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 732, "end": 1029, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 738, "end": 791, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 742, "end": 790, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 742, "end": 743, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 743, "end": 790, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 745, "end": 790, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 745, "end": 751, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 754, "end": 760, "ctxt": 0 }, "kind": "number" }, { "type": "TsKeywordType", "span": { "start": 763, "end": 770, "ctxt": 0 }, "kind": "boolean" }, { "type": "TsTypeReference", "span": { "start": 773, "end": 779, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 773, "end": 779, "ctxt": 0 }, "value": "RegExp", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 782, "end": 790, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 782, "end": 790, "ctxt": 0 }, "value": "Function", "optional": false }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 796, "end": 803, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 796, "end": 802, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 796, "end": 797, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 800, "end": 802, "ctxt": 0 }, "value": "", "raw": "\"\"" } } }, { "type": "DoWhileStatement", "span": { "start": 808, "end": 991, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 986, "end": 990, "ctxt": 0 }, "value": "cond", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 811, "end": 978, "ctxt": 0 }, "stmts": [ { "type": "IfStatement", "span": { "start": 821, "end": 881, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 825, "end": 829, "ctxt": 0 }, "value": "cond", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 831, "end": 881, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 845, "end": 852, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 845, "end": 851, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 845, "end": 846, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "NumericLiteral", "span": { "start": 849, "end": 851, "ctxt": 0 }, "value": 42.0, "raw": "42" } } }, { "type": "BreakStatement", "span": { "start": 865, "end": 871, "ctxt": 0 }, "label": null } ] }, "alternate": null }, { "type": "IfStatement", "span": { "start": 890, "end": 955, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 894, "end": 898, "ctxt": 0 }, "value": "cond", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 900, "end": 955, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 914, "end": 923, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 914, "end": 922, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 914, "end": 915, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "BooleanLiteral", "span": { "start": 918, "end": 922, "ctxt": 0 }, "value": true } } }, { "type": "ContinueStatement", "span": { "start": 936, "end": 945, "ctxt": 0 }, "label": null } ] }, "alternate": null }, { "type": "ExpressionStatement", "span": { "start": 964, "end": 972, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 964, "end": 971, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 964, "end": 965, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "RegExpLiteral", "span": { "start": 968, "end": 971, "ctxt": 0 }, "pattern": "a", "flags": "" } } } ] } }, { "type": "ExpressionStatement", "span": { "start": 996, "end": 998, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 996, "end": 997, "ctxt": 0 }, "value": "x", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 1039, "end": 1040, "ctxt": 0 }, "value": "g", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 1030, "end": 1321, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 1043, "end": 1321, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 1049, "end": 1102, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1053, "end": 1101, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1053, "end": 1054, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1054, "end": 1101, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 1056, "end": 1101, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 1056, "end": 1062, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 1065, "end": 1071, "ctxt": 0 }, "kind": "number" }, { "type": "TsKeywordType", "span": { "start": 1074, "end": 1081, "ctxt": 0 }, "kind": "boolean" }, { "type": "TsTypeReference", "span": { "start": 1084, "end": 1090, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1084, "end": 1090, "ctxt": 0 }, "value": "RegExp", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 1093, "end": 1101, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1093, "end": 1101, "ctxt": 0 }, "value": "Function", "optional": false }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 1107, "end": 1114, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 1107, "end": 1113, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 1107, "end": 1108, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 1111, "end": 1113, "ctxt": 0 }, "value": "", "raw": "\"\"" } } }, { "type": "DoWhileStatement", "span": { "start": 1119, "end": 1302, "ctxt": 0 }, "test": { "type": "BooleanLiteral", "span": { "start": 1297, "end": 1301, "ctxt": 0 }, "value": true }, "body": { "type": "BlockStatement", "span": { "start": 1122, "end": 1289, "ctxt": 0 }, "stmts": [ { "type": "IfStatement", "span": { "start": 1132, "end": 1192, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1136, "end": 1140, "ctxt": 0 }, "value": "cond", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 1142, "end": 1192, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 1156, "end": 1163, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 1156, "end": 1162, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 1156, "end": 1157, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "NumericLiteral", "span": { "start": 1160, "end": 1162, "ctxt": 0 }, "value": 42.0, "raw": "42" } } }, { "type": "BreakStatement", "span": { "start": 1176, "end": 1182, "ctxt": 0 }, "label": null } ] }, "alternate": null }, { "type": "IfStatement", "span": { "start": 1201, "end": 1266, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1205, "end": 1209, "ctxt": 0 }, "value": "cond", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 1211, "end": 1266, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 1225, "end": 1234, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 1225, "end": 1233, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 1225, "end": 1226, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "BooleanLiteral", "span": { "start": 1229, "end": 1233, "ctxt": 0 }, "value": true } } }, { "type": "ContinueStatement", "span": { "start": 1247, "end": 1256, "ctxt": 0 }, "label": null } ] }, "alternate": null }, { "type": "ExpressionStatement", "span": { "start": 1275, "end": 1283, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 1275, "end": 1282, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 1275, "end": 1276, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "RegExpLiteral", "span": { "start": 1279, "end": 1282, "ctxt": 0 }, "pattern": "a", "flags": "" } } } ] } }, { "type": "ExpressionStatement", "span": { "start": 1307, "end": 1309, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 1307, "end": 1308, "ctxt": 0 }, "value": "x", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }