{ "type": "Script", "span": { "start": 1, "end": 50, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 1, "end": 12, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 5, "end": 11, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 5, "end": 6, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 6, "end": 11, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 8, "end": 11, "ctxt": 0 }, "kind": "any" } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 13, "end": 50, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 19, "end": 49, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 19, "end": 20, "ctxt": 0 }, "value": "c", "optional": false, "typeAnnotation": null }, "init": { "type": "ConditionalExpression", "span": { "start": 23, "end": 49, "ctxt": 0 }, "test": { "type": "BooleanLiteral", "span": { "start": 23, "end": 27, "ctxt": 0 }, "value": true }, "consequent": { "type": "ParenthesisExpression", "span": { "start": 30, "end": 33, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 31, "end": 32, "ctxt": 0 }, "value": "a", "optional": false } }, "alternate": { "type": "FunctionExpression", "identifier": null, "params": [], "decorators": [], "span": { "start": 36, "end": 49, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 47, "end": 49, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } }, "definite": false } ] } ], "interpreter": null }