{ "type": "Script", "span": { "start": 47, "end": 1246, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 64, "end": 81, "ctxt": 0 }, "value": "getStringOrNumber", "optional": false }, "declare": true, "params": [], "decorators": [], "span": { "start": 47, "end": 101, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 83, "end": 100, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 85, "end": 100, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 85, "end": 91, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 94, "end": 100, "ctxt": 0 }, "kind": "number" } ] } } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 112, "end": 114, "ctxt": 0 }, "value": "f1", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 103, "end": 263, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 117, "end": 263, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 123, "end": 151, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 127, "end": 150, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 127, "end": 128, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 131, "end": 150, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 131, "end": 148, "ctxt": 0 }, "value": "getStringOrNumber", "optional": false }, "arguments": [], "typeArguments": null }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 156, "end": 261, "ctxt": 0 }, "test": { "type": "BinaryExpression", "span": { "start": 160, "end": 181, "ctxt": 0 }, "operator": "===", "left": { "type": "UnaryExpression", "span": { "start": 160, "end": 168, "ctxt": 0 }, "operator": "typeof", "argument": { "type": "Identifier", "span": { "start": 167, "end": 168, "ctxt": 0 }, "value": "x", "optional": false } }, "right": { "type": "StringLiteral", "span": { "start": 173, "end": 181, "ctxt": 0 }, "value": "string", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, "consequent": { "type": "BlockStatement", "span": { "start": 183, "end": 261, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 193, "end": 255, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 197, "end": 254, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 197, "end": 198, "ctxt": 0 }, "value": "n", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 201, "end": 254, "ctxt": 0 }, "callee": { "type": "FunctionExpression", "identifier": null, "params": [], "decorators": [], "span": { "start": 201, "end": 252, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 212, "end": 252, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 226, "end": 242, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 233, "end": 241, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 233, "end": 234, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 235, "end": 241, "ctxt": 0 }, "value": "length", "optional": false } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "arguments": [], "typeArguments": null }, "definite": false } ] } ] }, "alternate": null } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 274, "end": 276, "ctxt": 0 }, "value": "f2", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 265, "end": 427, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 279, "end": 427, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 285, "end": 313, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 289, "end": 312, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 289, "end": 290, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 293, "end": 312, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 293, "end": 310, "ctxt": 0 }, "value": "getStringOrNumber", "optional": false }, "arguments": [], "typeArguments": null }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 318, "end": 425, "ctxt": 0 }, "test": { "type": "BinaryExpression", "span": { "start": 322, "end": 343, "ctxt": 0 }, "operator": "===", "left": { "type": "UnaryExpression", "span": { "start": 322, "end": 330, "ctxt": 0 }, "operator": "typeof", "argument": { "type": "Identifier", "span": { "start": 329, "end": 330, "ctxt": 0 }, "value": "x", "optional": false } }, "right": { "type": "StringLiteral", "span": { "start": 335, "end": 343, "ctxt": 0 }, "value": "string", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, "consequent": { "type": "BlockStatement", "span": { "start": 345, "end": 425, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 355, "end": 419, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 359, "end": 418, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 359, "end": 360, "ctxt": 0 }, "value": "n", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 363, "end": 418, "ctxt": 0 }, "callee": { "type": "ParenthesisExpression", "span": { "start": 363, "end": 416, "ctxt": 0 }, "expression": { "type": "FunctionExpression", "identifier": null, "params": [], "decorators": [], "span": { "start": 364, "end": 415, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 375, "end": 415, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 389, "end": 405, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 396, "end": 404, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 396, "end": 397, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 398, "end": 404, "ctxt": 0 }, "value": "length", "optional": false } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } }, "arguments": [], "typeArguments": null }, "definite": false } ] } ] }, "alternate": null } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 438, "end": 440, "ctxt": 0 }, "value": "f3", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 429, "end": 585, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 443, "end": 585, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 449, "end": 477, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 453, "end": 476, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 453, "end": 454, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 457, "end": 476, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 457, "end": 474, "ctxt": 0 }, "value": "getStringOrNumber", "optional": false }, "arguments": [], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 482, "end": 496, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 486, "end": 495, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 486, "end": 487, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 487, "end": 495, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 489, "end": 495, "ctxt": 0 }, "kind": "number" } } }, "init": null, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 501, "end": 583, "ctxt": 0 }, "test": { "type": "BinaryExpression", "span": { "start": 505, "end": 526, "ctxt": 0 }, "operator": "===", "left": { "type": "UnaryExpression", "span": { "start": 505, "end": 513, "ctxt": 0 }, "operator": "typeof", "argument": { "type": "Identifier", "span": { "start": 512, "end": 513, "ctxt": 0 }, "value": "x", "optional": false } }, "right": { "type": "StringLiteral", "span": { "start": 518, "end": 526, "ctxt": 0 }, "value": "string", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, "consequent": { "type": "BlockStatement", "span": { "start": 528, "end": 583, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 538, "end": 577, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 542, "end": 576, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 542, "end": 543, "ctxt": 0 }, "value": "n", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 546, "end": 576, "ctxt": 0 }, "callee": { "type": "ParenthesisExpression", "span": { "start": 546, "end": 569, "ctxt": 0 }, "expression": { "type": "ArrowFunctionExpression", "span": { "start": 547, "end": 568, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 547, "end": 548, "ctxt": 0 }, "value": "z", "optional": false, "typeAnnotation": null } ], "body": { "type": "BinaryExpression", "span": { "start": 552, "end": 568, "ctxt": 0 }, "operator": "+", "left": { "type": "BinaryExpression", "span": { "start": 552, "end": 564, "ctxt": 0 }, "operator": "+", "left": { "type": "MemberExpression", "span": { "start": 552, "end": 560, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 552, "end": 553, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 554, "end": 560, "ctxt": 0 }, "value": "length", "optional": false } }, "right": { "type": "Identifier", "span": { "start": 563, "end": 564, "ctxt": 0 }, "value": "y", "optional": false } }, "right": { "type": "Identifier", "span": { "start": 567, "end": 568, "ctxt": 0 }, "value": "z", "optional": false } }, "async": false, "generator": false, "typeParameters": null, "returnType": null } }, "arguments": [ { "spread": null, "expression": { "type": "AssignmentExpression", "span": { "start": 570, "end": 575, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 570, "end": 571, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": null }, "right": { "type": "NumericLiteral", "span": { "start": 574, "end": 575, "ctxt": 0 }, "value": 1.0 } } } ], "typeArguments": null }, "definite": false } ] } ] }, "alternate": null } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "VariableDeclaration", "span": { "start": 609, "end": 645, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 613, "end": 644, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 613, "end": 624, "ctxt": 0 }, "value": "maybeNumber", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 624, "end": 644, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 626, "end": 644, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 626, "end": 632, "ctxt": 0 }, "kind": "number" }, { "type": "TsKeywordType", "span": { "start": 635, "end": 644, "ctxt": 0 }, "kind": "undefined" } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 646, "end": 687, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 646, "end": 686, "ctxt": 0 }, "callee": { "type": "ParenthesisExpression", "span": { "start": 646, "end": 684, "ctxt": 0 }, "expression": { "type": "FunctionExpression", "identifier": null, "params": [], "decorators": [], "span": { "start": 647, "end": 683, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 659, "end": 683, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 665, "end": 681, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 665, "end": 680, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 665, "end": 676, "ctxt": 0 }, "value": "maybeNumber", "optional": false, "typeAnnotation": null }, "right": { "type": "NumericLiteral", "span": { "start": 679, "end": 680, "ctxt": 0 }, "value": 1.0 } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 688, "end": 702, "ctxt": 0 }, "expression": { "type": "UpdateExpression", "span": { "start": 688, "end": 701, "ctxt": 0 }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "span": { "start": 688, "end": 699, "ctxt": 0 }, "value": "maybeNumber", "optional": false } } }, { "type": "IfStatement", "span": { "start": 703, "end": 756, "ctxt": 0 }, "test": { "type": "BinaryExpression", "span": { "start": 707, "end": 732, "ctxt": 0 }, "operator": "!==", "left": { "type": "Identifier", "span": { "start": 707, "end": 718, "ctxt": 0 }, "value": "maybeNumber", "optional": false }, "right": { "type": "Identifier", "span": { "start": 723, "end": 732, "ctxt": 0 }, "value": "undefined", "optional": false } }, "consequent": { "type": "BlockStatement", "span": { "start": 734, "end": 756, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 740, "end": 754, "ctxt": 0 }, "expression": { "type": "UpdateExpression", "span": { "start": 740, "end": 753, "ctxt": 0 }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "span": { "start": 740, "end": 751, "ctxt": 0 }, "value": "maybeNumber", "optional": false } } } ] }, "alternate": null }, { "type": "VariableDeclaration", "span": { "start": 758, "end": 787, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 762, "end": 786, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 762, "end": 766, "ctxt": 0 }, "value": "test", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 766, "end": 786, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 768, "end": 786, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 768, "end": 774, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 777, "end": 786, "ctxt": 0 }, "kind": "undefined" } ] } } }, "init": null, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 788, "end": 846, "ctxt": 0 }, "test": { "type": "UnaryExpression", "span": { "start": 792, "end": 797, "ctxt": 0 }, "operator": "!", "argument": { "type": "Identifier", "span": { "start": 793, "end": 797, "ctxt": 0 }, "value": "test", "optional": false } }, "consequent": { "type": "BlockStatement", "span": { "start": 799, "end": 846, "ctxt": 0 }, "stmts": [ { "type": "ThrowStatement", "span": { "start": 805, "end": 844, "ctxt": 0 }, "argument": { "type": "NewExpression", "span": { "start": 811, "end": 843, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 815, "end": 820, "ctxt": 0 }, "value": "Error", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 821, "end": 842, "ctxt": 0 }, "value": "Test is not defined", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ], "typeArguments": null } } ] }, "alternate": null }, { "type": "ExpressionStatement", "span": { "start": 847, "end": 892, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 847, "end": 891, "ctxt": 0 }, "callee": { "type": "ParenthesisExpression", "span": { "start": 847, "end": 889, "ctxt": 0 }, "expression": { "type": "ArrowFunctionExpression", "span": { "start": 848, "end": 888, "ctxt": 0 }, "params": [], "body": { "type": "BlockStatement", "span": { "start": 854, "end": 888, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 860, "end": 874, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 860, "end": 873, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 860, "end": 870, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 860, "end": 864, "ctxt": 0 }, "value": "test", "optional": false }, "property": { "type": "Identifier", "span": { "start": 865, "end": 870, "ctxt": 0 }, "value": "slice", "optional": false } }, "arguments": [ { "spread": null, "expression": { "type": "NumericLiteral", "span": { "start": 871, "end": 872, "ctxt": 0 }, "value": 1.0 } } ], "typeArguments": null } } ] }, "async": false, "generator": false, "typeParameters": null, "returnType": null } }, "arguments": [], "typeArguments": null } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 925, "end": 927, "ctxt": 0 }, "value": "f4", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 916, "end": 1002, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 930, "end": 1002, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 936, "end": 950, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 940, "end": 949, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 940, "end": 941, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 941, "end": 949, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 943, "end": 949, "ctxt": 0 }, "kind": "number" } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 955, "end": 993, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 955, "end": 992, "ctxt": 0 }, "callee": { "type": "ParenthesisExpression", "span": { "start": 955, "end": 990, "ctxt": 0 }, "expression": { "type": "FunctionExpression", "identifier": null, "params": [], "decorators": [], "span": { "start": 956, "end": 989, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 967, "end": 989, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 977, "end": 983, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 977, "end": 982, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 977, "end": 978, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": null }, "right": { "type": "NumericLiteral", "span": { "start": 981, "end": 982, "ctxt": 0 }, "value": 1.0 } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 998, "end": 1000, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 998, "end": 999, "ctxt": 0 }, "value": "v", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 1013, "end": 1015, "ctxt": 0 }, "value": "f5", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 1004, "end": 1127, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 1018, "end": 1127, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 1024, "end": 1038, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1028, "end": 1037, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1028, "end": 1029, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1029, "end": 1037, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 1031, "end": 1037, "ctxt": 0 }, "kind": "number" } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 1043, "end": 1099, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 1043, "end": 1098, "ctxt": 0 }, "callee": { "type": "ParenthesisExpression", "span": { "start": 1043, "end": 1096, "ctxt": 0 }, "expression": { "type": "FunctionExpression", "identifier": null, "params": [], "decorators": [], "span": { "start": 1044, "end": 1095, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 1056, "end": 1095, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 1066, "end": 1074, "ctxt": 0 }, "expression": { "type": "YieldExpression", "span": { "start": 1066, "end": 1073, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 1072, "end": 1073, "ctxt": 0 }, "value": 1.0 }, "delegate": false } }, { "type": "ExpressionStatement", "span": { "start": 1083, "end": 1089, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 1083, "end": 1088, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 1083, "end": 1084, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": null }, "right": { "type": "NumericLiteral", "span": { "start": 1087, "end": 1088, "ctxt": 0 }, "value": 1.0 } } } ] }, "generator": true, "async": false, "typeParameters": null, "returnType": null } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 1104, "end": 1106, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 1104, "end": 1105, "ctxt": 0 }, "value": "v", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 1138, "end": 1140, "ctxt": 0 }, "value": "f6", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 1129, "end": 1246, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 1143, "end": 1246, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 1149, "end": 1163, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1153, "end": 1162, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1153, "end": 1154, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1154, "end": 1162, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 1156, "end": 1162, "ctxt": 0 }, "kind": "number" } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 1168, "end": 1218, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 1168, "end": 1217, "ctxt": 0 }, "callee": { "type": "ParenthesisExpression", "span": { "start": 1168, "end": 1215, "ctxt": 0 }, "expression": { "type": "FunctionExpression", "identifier": null, "params": [], "decorators": [], "span": { "start": 1169, "end": 1214, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 1186, "end": 1214, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 1196, "end": 1208, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 1196, "end": 1207, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 1196, "end": 1197, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": null }, "right": { "type": "AwaitExpression", "span": { "start": 1200, "end": 1207, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 1206, "end": 1207, "ctxt": 0 }, "value": 1.0 } } } } ] }, "generator": false, "async": true, "typeParameters": null, "returnType": null } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 1223, "end": 1225, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 1223, "end": 1224, "ctxt": 0 }, "value": "v", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }