{ "type": "Script", "span": { "start": 46, "end": 777, "ctxt": 0 }, "body": [ { "type": "ExpressionStatement", "span": { "start": 46, "end": 528, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 46, "end": 527, "ctxt": 0 }, "callee": { "type": "ParenthesisExpression", "span": { "start": 46, "end": 525, "ctxt": 0 }, "expression": { "type": "FunctionExpression", "identifier": null, "params": [], "decorators": [], "span": { "start": 47, "end": 524, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 59, "end": 524, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 65, "end": 76, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 69, "end": 75, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 69, "end": 70, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 70, "end": 75, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 72, "end": 75, "ctxt": 0 }, "kind": "any" } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 82, "end": 93, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 86, "end": 92, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 86, "end": 88, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 91, "end": 92, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 98, "end": 109, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 102, "end": 108, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 102, "end": 104, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 107, "end": 108, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 114, "end": 127, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 120, "end": 126, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 120, "end": 122, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 125, "end": 126, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 133, "end": 144, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 137, "end": 143, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 137, "end": 139, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 142, "end": 143, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 149, "end": 160, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 153, "end": 159, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 153, "end": 155, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 158, "end": 159, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 165, "end": 178, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 171, "end": 177, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 171, "end": 173, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 176, "end": 177, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 184, "end": 203, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 188, "end": 194, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 188, "end": 190, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 193, "end": 194, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false }, { "type": "VariableDeclarator", "span": { "start": 196, "end": 202, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 196, "end": 198, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 201, "end": 202, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 208, "end": 227, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 212, "end": 218, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 212, "end": 214, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 217, "end": 218, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false }, { "type": "VariableDeclarator", "span": { "start": 220, "end": 226, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 220, "end": 222, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 225, "end": 226, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 232, "end": 253, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 238, "end": 244, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 238, "end": 240, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 243, "end": 244, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false }, { "type": "VariableDeclarator", "span": { "start": 246, "end": 252, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 246, "end": 248, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 251, "end": 252, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 259, "end": 286, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 263, "end": 285, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 263, "end": 281, "ctxt": 0 }, "properties": [ { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 265, "end": 267, "ctxt": 0 }, "value": "p1", "optional": false }, "value": { "type": "ObjectPattern", "span": { "start": 269, "end": 271, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null } }, { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 273, "end": 275, "ctxt": 0 }, "value": "p2", "optional": false }, "value": { "type": "ArrayPattern", "span": { "start": 277, "end": 279, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null } } ], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 284, "end": 285, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 291, "end": 318, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 295, "end": 317, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 295, "end": 313, "ctxt": 0 }, "properties": [ { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 297, "end": 299, "ctxt": 0 }, "value": "p1", "optional": false }, "value": { "type": "ObjectPattern", "span": { "start": 301, "end": 303, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null } }, { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 305, "end": 307, "ctxt": 0 }, "value": "p2", "optional": false }, "value": { "type": "ArrayPattern", "span": { "start": 309, "end": 311, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null } } ], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 316, "end": 317, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 323, "end": 352, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 329, "end": 351, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 329, "end": 347, "ctxt": 0 }, "properties": [ { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 331, "end": 333, "ctxt": 0 }, "value": "p1", "optional": false }, "value": { "type": "ObjectPattern", "span": { "start": 335, "end": 337, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null } }, { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 339, "end": 341, "ctxt": 0 }, "value": "p2", "optional": false }, "value": { "type": "ArrayPattern", "span": { "start": 343, "end": 345, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null } } ], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 350, "end": 351, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "ForStatement", "span": { "start": 358, "end": 407, "ctxt": 0 }, "init": { "type": "VariableDeclaration", "span": { "start": 363, "end": 383, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 367, "end": 374, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 367, "end": 369, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 372, "end": 374, "ctxt": 0 }, "properties": [] }, "definite": false }, { "type": "VariableDeclarator", "span": { "start": 376, "end": 383, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 376, "end": 378, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 381, "end": 383, "ctxt": 0 }, "properties": [] }, "definite": false } ] }, "test": { "type": "BooleanLiteral", "span": { "start": 385, "end": 390, "ctxt": 0 }, "value": false }, "update": { "type": "UnaryExpression", "span": { "start": 392, "end": 398, "ctxt": 0 }, "operator": "void", "argument": { "type": "NumericLiteral", "span": { "start": 397, "end": 398, "ctxt": 0 }, "value": 0.0 } }, "body": { "type": "BlockStatement", "span": { "start": 400, "end": 407, "ctxt": 0 }, "stmts": [] } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 422, "end": 423, "ctxt": 0 }, "value": "f", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 424, "end": 430, "ctxt": 0 }, "decorators": [], "pat": { "type": "AssignmentPattern", "span": { "start": 424, "end": 430, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 424, "end": 426, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 429, "end": 430, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null } }, { "type": "Parameter", "span": { "start": 432, "end": 438, "ctxt": 0 }, "decorators": [], "pat": { "type": "AssignmentPattern", "span": { "start": 432, "end": 438, "ctxt": 0 }, "left": { "type": "ArrayPattern", "span": { "start": 432, "end": 434, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 437, "end": 438, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null } }, { "type": "Parameter", "span": { "start": 440, "end": 456, "ctxt": 0 }, "decorators": [], "pat": { "type": "AssignmentPattern", "span": { "start": 440, "end": 456, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 440, "end": 452, "ctxt": 0 }, "properties": [ { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 442, "end": 443, "ctxt": 0 }, "value": "p", "optional": false }, "value": { "type": "AssignmentPattern", "span": { "start": 445, "end": 451, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 445, "end": 447, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 450, "end": 451, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null } } ], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 455, "end": 456, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 413, "end": 522, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 458, "end": 522, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 468, "end": 516, "ctxt": 0 }, "argument": { "type": "ArrowFunctionExpression", "span": { "start": 475, "end": 515, "ctxt": 0 }, "params": [ { "type": "AssignmentPattern", "span": { "start": 476, "end": 482, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 476, "end": 478, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 481, "end": 482, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null }, { "type": "AssignmentPattern", "span": { "start": 484, "end": 490, "ctxt": 0 }, "left": { "type": "ArrayPattern", "span": { "start": 484, "end": 486, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 489, "end": 490, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null }, { "type": "AssignmentPattern", "span": { "start": 492, "end": 509, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 492, "end": 505, "ctxt": 0 }, "properties": [ { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 494, "end": 495, "ctxt": 0 }, "value": "p", "optional": false }, "value": { "type": "AssignmentPattern", "span": { "start": 497, "end": 503, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 497, "end": 499, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 502, "end": 503, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null } } ], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 508, "end": 509, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null } ], "body": { "type": "Identifier", "span": { "start": 514, "end": 515, "ctxt": 0 }, "value": "a", "optional": false }, "async": false, "generator": false, "typeParameters": null, "returnType": null } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 530, "end": 777, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 530, "end": 776, "ctxt": 0 }, "callee": { "type": "ParenthesisExpression", "span": { "start": 530, "end": 774, "ctxt": 0 }, "expression": { "type": "FunctionExpression", "identifier": null, "params": [], "decorators": [], "span": { "start": 531, "end": 773, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 543, "end": 773, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 549, "end": 575, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 555, "end": 574, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 555, "end": 557, "ctxt": 0 }, "value": "ns", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 557, "end": 569, "ctxt": 0 }, "typeAnnotation": { "type": "TsArrayType", "span": { "start": 559, "end": 569, "ctxt": 0 }, "elemType": { "type": "TsArrayType", "span": { "start": 559, "end": 567, "ctxt": 0 }, "elemType": { "type": "TsKeywordType", "span": { "start": 559, "end": 565, "ctxt": 0 }, "kind": "number" } } } } }, "init": { "type": "ArrayExpression", "span": { "start": 572, "end": 574, "ctxt": 0 }, "elements": [] }, "definite": false } ] }, { "type": "ForOfStatement", "span": { "start": 581, "end": 607, "ctxt": 0 }, "await": null, "left": { "type": "VariableDeclaration", "span": { "start": 586, "end": 592, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 590, "end": 592, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 590, "end": 592, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] }, "right": { "type": "Identifier", "span": { "start": 596, "end": 598, "ctxt": 0 }, "value": "ns", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 600, "end": 607, "ctxt": 0 }, "stmts": [] } }, { "type": "ForOfStatement", "span": { "start": 613, "end": 639, "ctxt": 0 }, "await": null, "left": { "type": "VariableDeclaration", "span": { "start": 618, "end": 624, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 622, "end": 624, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 622, "end": 624, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] }, "right": { "type": "Identifier", "span": { "start": 628, "end": 630, "ctxt": 0 }, "value": "ns", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 632, "end": 639, "ctxt": 0 }, "stmts": [] } }, { "type": "ForOfStatement", "span": { "start": 645, "end": 673, "ctxt": 0 }, "await": null, "left": { "type": "VariableDeclaration", "span": { "start": 650, "end": 658, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 656, "end": 658, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 656, "end": 658, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] }, "right": { "type": "Identifier", "span": { "start": 662, "end": 664, "ctxt": 0 }, "value": "ns", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 666, "end": 673, "ctxt": 0 }, "stmts": [] } }, { "type": "ForOfStatement", "span": { "start": 679, "end": 705, "ctxt": 0 }, "await": null, "left": { "type": "VariableDeclaration", "span": { "start": 684, "end": 690, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 688, "end": 690, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 688, "end": 690, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] }, "right": { "type": "Identifier", "span": { "start": 694, "end": 696, "ctxt": 0 }, "value": "ns", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 698, "end": 705, "ctxt": 0 }, "stmts": [] } }, { "type": "ForOfStatement", "span": { "start": 711, "end": 737, "ctxt": 0 }, "await": null, "left": { "type": "VariableDeclaration", "span": { "start": 716, "end": 722, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 720, "end": 722, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 720, "end": 722, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] }, "right": { "type": "Identifier", "span": { "start": 726, "end": 728, "ctxt": 0 }, "value": "ns", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 730, "end": 737, "ctxt": 0 }, "stmts": [] } }, { "type": "ForOfStatement", "span": { "start": 743, "end": 771, "ctxt": 0 }, "await": null, "left": { "type": "VariableDeclaration", "span": { "start": 748, "end": 756, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 754, "end": 756, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 754, "end": 756, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] }, "right": { "type": "Identifier", "span": { "start": 760, "end": 762, "ctxt": 0 }, "value": "ns", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 764, "end": 771, "ctxt": 0 }, "stmts": [] } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } }, "arguments": [], "typeArguments": null } } ], "interpreter": null }