{ "type": "Program", "statements": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "a1", "typeAnnotation": { "type": "TSArrayType", "elementType": { "type": "TSStringKeyword", "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 15 } } }, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 17 } } }, "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 7 } } }, "init": { "type": "ArrayExpression", "elements": [ { "type": "StringLiteral", "value": "111", "loc": { "start": { "line": 17, "column": 21 }, "end": { "line": 17, "column": 26 } } } ], "loc": { "start": { "line": 17, "column": 20 }, "end": { "line": 17, "column": 27 } } }, "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 27 } } } ], "kind": "let", "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 27 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "e1", "typeAnnotation": { "type": "TSUnionType", "types": [ { "type": "TSStringKeyword", "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 15 } } }, { "type": "TSUndefinedKeyword", "loc": { "start": { "line": 18, "column": 18 }, "end": { "line": 18, "column": 27 } } } ], "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 27 } } }, "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 7 } } }, "init": null, "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 7 } } } ], "kind": "let", "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 28 } } }, { "type": "ForOfStatement", "await": false, "left": { "type": "TSSatisfiesExpression", "expression": { "type": "Identifier", "name": "e1", "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 8 } } }, "typeAnnotation": { "type": "TSParenthesizedType", "typeAnnotation": { "type": "TSUnionType", "types": [ { "type": "TSStringKeyword", "loc": { "start": { "line": 19, "column": 20 }, "end": { "line": 19, "column": 26 } } }, { "type": "TSUndefinedKeyword", "loc": { "start": { "line": 19, "column": 29 }, "end": { "line": 19, "column": 38 } } } ], "loc": { "start": { "line": 19, "column": 20 }, "end": { "line": 19, "column": 38 } } }, "loc": { "start": { "line": 19, "column": 19 }, "end": { "line": 19, "column": 39 } } }, "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 40 } } }, "right": { "type": "Identifier", "name": "a1", "loc": { "start": { "line": 19, "column": 44 }, "end": { "line": 19, "column": 46 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "console", "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 12 } } }, "property": { "type": "Identifier", "name": "log", "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 16 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 16 } } }, "arguments": [ { "type": "Identifier", "name": "e1", "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 19 } } } ], "optional": false, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 20 } } }, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 21 } } } ], "loc": { "start": { "line": 19, "column": 47 }, "end": { "line": 21, "column": 2 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 21, "column": 2 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 21, "column": 2 } } }