{ "type": "Program", "statements": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "TSUndefinedKeyword", "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 17 } } }, "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 6 } } }, "init": { "type": "Identifier", "name": "undefined", "decorators": [], "loc": { "start": { "line": 17, "column": 20 }, "end": { "line": 17, "column": 29 } } }, "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 29 } } } ], "kind": "let", "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 30 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "b", "typeAnnotation": { "type": "TSArrayType", "elementType": { "type": "TSUndefinedKeyword", "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 17 } } }, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 19 } } }, "decorators": [], "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 6 } } }, "init": { "type": "ArrayExpression", "elements": [ { "type": "Identifier", "name": "undefined", "decorators": [], "loc": { "start": { "line": 18, "column": 23 }, "end": { "line": 18, "column": 32 } } }, { "type": "Identifier", "name": "undefined", "decorators": [], "loc": { "start": { "line": 18, "column": 34 }, "end": { "line": 18, "column": 43 } } } ], "loc": { "start": { "line": 18, "column": 22 }, "end": { "line": 18, "column": 44 } } }, "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 44 } } } ], "kind": "let", "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 45 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 6 } } }, "init": { "type": "ArrayExpression", "elements": [ { "type": "Identifier", "name": "undefined", "decorators": [], "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 19, "column": 19 } } }, { "type": "Identifier", "name": "undefined", "decorators": [], "loc": { "start": { "line": 19, "column": 21 }, "end": { "line": 19, "column": 30 } } }, { "type": "Identifier", "name": "undefined", "decorators": [], "loc": { "start": { "line": 19, "column": 32 }, "end": { "line": 19, "column": 41 } } } ], "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 42 } } }, "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 42 } } } ], "kind": "let", "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 43 } } }, { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 21, "column": 10 }, "end": { "line": 21, "column": 13 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "TSUndefinedKeyword", "loc": { "start": { "line": 21, "column": 17 }, "end": { "line": 21, "column": 26 } } }, "decorators": [], "loc": { "start": { "line": 21, "column": 14 }, "end": { "line": 21, "column": 15 } } } ], "returnType": { "type": "TSUndefinedKeyword", "loc": { "start": { "line": 21, "column": 30 }, "end": { "line": 21, "column": 39 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ReturnStatement", "argument": { "type": "Identifier", "name": "undefined", "decorators": [], "loc": { "start": { "line": 22, "column": 10 }, "end": { "line": 22, "column": 19 } } }, "loc": { "start": { "line": 22, "column": 3 }, "end": { "line": 22, "column": 20 } } } ], "loc": { "start": { "line": 21, "column": 40 }, "end": { "line": 23, "column": 2 } } }, "loc": { "start": { "line": 21, "column": 1 }, "end": { "line": 23, "column": 2 } } }, "loc": { "start": { "line": 21, "column": 1 }, "end": { "line": 23, "column": 2 } } }, { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 25, "column": 1 }, "end": { "line": 25, "column": 4 } } }, "arguments": [ { "type": "Identifier", "name": "undefined", "decorators": [], "loc": { "start": { "line": 25, "column": 5 }, "end": { "line": 25, "column": 14 } } } ], "optional": false, "loc": { "start": { "line": 25, "column": 1 }, "end": { "line": 25, "column": 15 } } }, "loc": { "start": { "line": 25, "column": 1 }, "end": { "line": 25, "column": 16 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 26, "column": 1 } } }