{ "type": "Script", "span": { "start": 0, "end": 42, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 0, "end": 42, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 4, "end": 41, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 4, "end": 5, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 8, "end": 41, "ctxt": 0 }, "object": { "type": "CallExpression", "span": { "start": 8, "end": 37, "ctxt": 0 }, "callee": { "type": "FunctionExpression", "identifier": null, "params": [], "decorators": [], "span": { "start": 8, "end": 23, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 20, "end": 23, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "arguments": [ { "spread": null, "expression": { "type": "TsTypeAssertion", "span": { "start": 25, "end": 36, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 30, "end": 36, "ctxt": 0 }, "value": "window", "optional": false }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 26, "end": 29, "ctxt": 0 }, "kind": "any" } } } ], "typeArguments": null }, "property": { "type": "Identifier", "span": { "start": 38, "end": 41, "ctxt": 0 }, "value": "foo", "optional": false } }, "definite": false } ] } ], "interpreter": null }