{ "type": "Script", "span": { "start": 16, "end": 126, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 16, "end": 42, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 20, "end": 29, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 20, "end": 21, "ctxt": 0 }, "value": "k", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 21, "end": 29, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 23, "end": 29, "ctxt": 0 }, "kind": "string" } } }, "init": null, "definite": false }, { "type": "VariableDeclarator", "span": { "start": 31, "end": 41, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 31, "end": 32, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 32, "end": 41, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 34, "end": 41, "ctxt": 0 }, "kind": "boolean" } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 43, "end": 75, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 47, "end": 74, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 47, "end": 50, "ctxt": 0 }, "value": "map", "optional": false, "typeAnnotation": null }, "init": { "type": "NewExpression", "span": { "start": 53, "end": 74, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 57, "end": 60, "ctxt": 0 }, "value": "Map", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "ArrayExpression", "span": { "start": 61, "end": 73, "ctxt": 0 }, "elements": [ { "spread": null, "expression": { "type": "ArrayExpression", "span": { "start": 62, "end": 72, "ctxt": 0 }, "elements": [ { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 63, "end": 65, "ctxt": 0 }, "value": "", "raw": "\"\"" } }, { "spread": null, "expression": { "type": "BooleanLiteral", "span": { "start": 67, "end": 71, "ctxt": 0 }, "value": true } } ] } } ] } } ], "typeArguments": null }, "definite": false } ] }, { "type": "ForOfStatement", "span": { "start": 76, "end": 126, "ctxt": 0 }, "await": null, "left": { "type": "ArrayPattern", "span": { "start": 81, "end": 100, "ctxt": 0 }, "elements": [ { "type": "AssignmentPattern", "span": { "start": 82, "end": 91, "ctxt": 0 }, "left": { "type": "Identifier", "span": { "start": 82, "end": 83, "ctxt": 0 }, "value": "k", "optional": false, "typeAnnotation": null }, "right": { "type": "BooleanLiteral", "span": { "start": 86, "end": 91, "ctxt": 0 }, "value": false }, "typeAnnotation": null }, { "type": "AssignmentPattern", "span": { "start": 93, "end": 99, "ctxt": 0 }, "left": { "type": "Identifier", "span": { "start": 93, "end": 94, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 97, "end": 99, "ctxt": 0 }, "value": "", "raw": "\"\"" }, "typeAnnotation": null } ], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 104, "end": 107, "ctxt": 0 }, "value": "map", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 109, "end": 126, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 115, "end": 117, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 115, "end": 116, "ctxt": 0 }, "value": "k", "optional": false } }, { "type": "ExpressionStatement", "span": { "start": 122, "end": 124, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 122, "end": 123, "ctxt": 0 }, "value": "v", "optional": false } } ] } } ], "interpreter": null }