{ "type": "Script", "span": { "start": 47, "end": 778, "ctxt": 0 }, "body": [ { "type": "ExpressionStatement", "span": { "start": 47, "end": 529, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 47, "end": 528, "ctxt": 0 }, "callee": { "type": "ParenthesisExpression", "span": { "start": 47, "end": 526, "ctxt": 0 }, "expression": { "type": "FunctionExpression", "identifier": null, "params": [], "decorators": [], "span": { "start": 48, "end": 525, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 60, "end": 525, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 66, "end": 77, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 70, "end": 76, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 70, "end": 71, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 71, "end": 76, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 73, "end": 76, "ctxt": 0 }, "kind": "any" } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 83, "end": 94, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 87, "end": 93, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 87, "end": 89, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 92, "end": 93, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 99, "end": 110, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 103, "end": 109, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 103, "end": 105, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 108, "end": 109, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 115, "end": 128, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 121, "end": 127, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 121, "end": 123, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 126, "end": 127, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 134, "end": 145, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 138, "end": 144, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 138, "end": 140, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 143, "end": 144, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 150, "end": 161, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 154, "end": 160, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 154, "end": 156, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 159, "end": 160, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 166, "end": 179, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 172, "end": 178, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 172, "end": 174, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 177, "end": 178, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 185, "end": 204, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 189, "end": 195, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 189, "end": 191, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 194, "end": 195, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false }, { "type": "VariableDeclarator", "span": { "start": 197, "end": 203, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 197, "end": 199, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 202, "end": 203, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 209, "end": 228, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 213, "end": 219, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 213, "end": 215, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 218, "end": 219, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false }, { "type": "VariableDeclarator", "span": { "start": 221, "end": 227, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 221, "end": 223, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 226, "end": 227, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 233, "end": 254, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 239, "end": 245, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 239, "end": 241, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 244, "end": 245, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false }, { "type": "VariableDeclarator", "span": { "start": 247, "end": 253, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 247, "end": 249, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 252, "end": 253, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 260, "end": 287, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 264, "end": 286, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 264, "end": 282, "ctxt": 0 }, "properties": [ { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 266, "end": 268, "ctxt": 0 }, "value": "p1", "optional": false }, "value": { "type": "ObjectPattern", "span": { "start": 270, "end": 272, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null } }, { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 274, "end": 276, "ctxt": 0 }, "value": "p2", "optional": false }, "value": { "type": "ArrayPattern", "span": { "start": 278, "end": 280, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null } } ], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 285, "end": 286, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 292, "end": 319, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 296, "end": 318, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 296, "end": 314, "ctxt": 0 }, "properties": [ { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 298, "end": 300, "ctxt": 0 }, "value": "p1", "optional": false }, "value": { "type": "ObjectPattern", "span": { "start": 302, "end": 304, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null } }, { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 306, "end": 308, "ctxt": 0 }, "value": "p2", "optional": false }, "value": { "type": "ArrayPattern", "span": { "start": 310, "end": 312, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null } } ], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 317, "end": 318, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 324, "end": 353, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 330, "end": 352, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 330, "end": 348, "ctxt": 0 }, "properties": [ { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 332, "end": 334, "ctxt": 0 }, "value": "p1", "optional": false }, "value": { "type": "ObjectPattern", "span": { "start": 336, "end": 338, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null } }, { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 340, "end": 342, "ctxt": 0 }, "value": "p2", "optional": false }, "value": { "type": "ArrayPattern", "span": { "start": 344, "end": 346, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null } } ], "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 351, "end": 352, "ctxt": 0 }, "value": "a", "optional": false }, "definite": false } ] }, { "type": "ForStatement", "span": { "start": 359, "end": 408, "ctxt": 0 }, "init": { "type": "VariableDeclaration", "span": { "start": 364, "end": 384, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 368, "end": 375, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 368, "end": 370, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 373, "end": 375, "ctxt": 0 }, "properties": [] }, "definite": false }, { "type": "VariableDeclarator", "span": { "start": 377, "end": 384, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 377, "end": 379, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 382, "end": 384, "ctxt": 0 }, "properties": [] }, "definite": false } ] }, "test": { "type": "BooleanLiteral", "span": { "start": 386, "end": 391, "ctxt": 0 }, "value": false }, "update": { "type": "UnaryExpression", "span": { "start": 393, "end": 399, "ctxt": 0 }, "operator": "void", "argument": { "type": "NumericLiteral", "span": { "start": 398, "end": 399, "ctxt": 0 }, "value": 0.0, "raw": "0" } }, "body": { "type": "BlockStatement", "span": { "start": 401, "end": 408, "ctxt": 0 }, "stmts": [] } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 423, "end": 424, "ctxt": 0 }, "value": "f", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 425, "end": 431, "ctxt": 0 }, "decorators": [], "pat": { "type": "AssignmentPattern", "span": { "start": 425, "end": 431, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 425, "end": 427, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 430, "end": 431, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null } }, { "type": "Parameter", "span": { "start": 433, "end": 439, "ctxt": 0 }, "decorators": [], "pat": { "type": "AssignmentPattern", "span": { "start": 433, "end": 439, "ctxt": 0 }, "left": { "type": "ArrayPattern", "span": { "start": 433, "end": 435, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 438, "end": 439, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null } }, { "type": "Parameter", "span": { "start": 441, "end": 457, "ctxt": 0 }, "decorators": [], "pat": { "type": "AssignmentPattern", "span": { "start": 441, "end": 457, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 441, "end": 453, "ctxt": 0 }, "properties": [ { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 443, "end": 444, "ctxt": 0 }, "value": "p", "optional": false }, "value": { "type": "AssignmentPattern", "span": { "start": 446, "end": 452, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 446, "end": 448, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 451, "end": 452, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null } } ], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 456, "end": 457, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 414, "end": 523, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 459, "end": 523, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 469, "end": 517, "ctxt": 0 }, "argument": { "type": "ArrowFunctionExpression", "span": { "start": 476, "end": 516, "ctxt": 0 }, "params": [ { "type": "AssignmentPattern", "span": { "start": 477, "end": 483, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 477, "end": 479, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 482, "end": 483, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null }, { "type": "AssignmentPattern", "span": { "start": 485, "end": 491, "ctxt": 0 }, "left": { "type": "ArrayPattern", "span": { "start": 485, "end": 487, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 490, "end": 491, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null }, { "type": "AssignmentPattern", "span": { "start": 493, "end": 510, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 493, "end": 506, "ctxt": 0 }, "properties": [ { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 495, "end": 496, "ctxt": 0 }, "value": "p", "optional": false }, "value": { "type": "AssignmentPattern", "span": { "start": 498, "end": 504, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 498, "end": 500, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 503, "end": 504, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null } } ], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 509, "end": 510, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null } ], "body": { "type": "Identifier", "span": { "start": 515, "end": 516, "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": 531, "end": 778, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 531, "end": 777, "ctxt": 0 }, "callee": { "type": "ParenthesisExpression", "span": { "start": 531, "end": 775, "ctxt": 0 }, "expression": { "type": "FunctionExpression", "identifier": null, "params": [], "decorators": [], "span": { "start": 532, "end": 774, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 544, "end": 774, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 550, "end": 576, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 556, "end": 575, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 556, "end": 558, "ctxt": 0 }, "value": "ns", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 558, "end": 570, "ctxt": 0 }, "typeAnnotation": { "type": "TsArrayType", "span": { "start": 560, "end": 570, "ctxt": 0 }, "elemType": { "type": "TsArrayType", "span": { "start": 560, "end": 568, "ctxt": 0 }, "elemType": { "type": "TsKeywordType", "span": { "start": 560, "end": 566, "ctxt": 0 }, "kind": "number" } } } } }, "init": { "type": "ArrayExpression", "span": { "start": 573, "end": 575, "ctxt": 0 }, "elements": [] }, "definite": false } ] }, { "type": "ForOfStatement", "span": { "start": 582, "end": 608, "ctxt": 0 }, "await": false, "left": { "type": "VariableDeclaration", "span": { "start": 587, "end": 593, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 591, "end": 593, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 591, "end": 593, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] }, "right": { "type": "Identifier", "span": { "start": 597, "end": 599, "ctxt": 0 }, "value": "ns", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 601, "end": 608, "ctxt": 0 }, "stmts": [] } }, { "type": "ForOfStatement", "span": { "start": 614, "end": 640, "ctxt": 0 }, "await": false, "left": { "type": "VariableDeclaration", "span": { "start": 619, "end": 625, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 623, "end": 625, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 623, "end": 625, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] }, "right": { "type": "Identifier", "span": { "start": 629, "end": 631, "ctxt": 0 }, "value": "ns", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 633, "end": 640, "ctxt": 0 }, "stmts": [] } }, { "type": "ForOfStatement", "span": { "start": 646, "end": 674, "ctxt": 0 }, "await": false, "left": { "type": "VariableDeclaration", "span": { "start": 651, "end": 659, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 657, "end": 659, "ctxt": 0 }, "id": { "type": "ObjectPattern", "span": { "start": 657, "end": 659, "ctxt": 0 }, "properties": [], "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] }, "right": { "type": "Identifier", "span": { "start": 663, "end": 665, "ctxt": 0 }, "value": "ns", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 667, "end": 674, "ctxt": 0 }, "stmts": [] } }, { "type": "ForOfStatement", "span": { "start": 680, "end": 706, "ctxt": 0 }, "await": false, "left": { "type": "VariableDeclaration", "span": { "start": 685, "end": 691, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 689, "end": 691, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 689, "end": 691, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] }, "right": { "type": "Identifier", "span": { "start": 695, "end": 697, "ctxt": 0 }, "value": "ns", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 699, "end": 706, "ctxt": 0 }, "stmts": [] } }, { "type": "ForOfStatement", "span": { "start": 712, "end": 738, "ctxt": 0 }, "await": false, "left": { "type": "VariableDeclaration", "span": { "start": 717, "end": 723, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 721, "end": 723, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 721, "end": 723, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] }, "right": { "type": "Identifier", "span": { "start": 727, "end": 729, "ctxt": 0 }, "value": "ns", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 731, "end": 738, "ctxt": 0 }, "stmts": [] } }, { "type": "ForOfStatement", "span": { "start": 744, "end": 772, "ctxt": 0 }, "await": false, "left": { "type": "VariableDeclaration", "span": { "start": 749, "end": 757, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 755, "end": 757, "ctxt": 0 }, "id": { "type": "ArrayPattern", "span": { "start": 755, "end": 757, "ctxt": 0 }, "elements": [], "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] }, "right": { "type": "Identifier", "span": { "start": 761, "end": 763, "ctxt": 0 }, "value": "ns", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 765, "end": 772, "ctxt": 0 }, "stmts": [] } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } }, "arguments": [], "typeArguments": null } } ], "interpreter": null }