{ "type": "Script", "span": { "start": 44, "end": 195, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 44, "end": 58, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 48, "end": 57, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 48, "end": 53, "ctxt": 0 }, "value": "count", "optional": false, "typeAnnotation": null }, "init": { "type": "NumericLiteral", "span": { "start": 56, "end": 57, "ctxt": 0 }, "value": 0.0 }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 59, "end": 72, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 63, "end": 71, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 63, "end": 66, "ctxt": 0 }, "value": "obj", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 69, "end": 71, "ctxt": 0 }, "properties": [] }, "definite": false } ] }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 82, "end": 86, "ctxt": 0 }, "value": "incr", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 73, "end": 112, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 89, "end": 112, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 95, "end": 110, "ctxt": 0 }, "argument": { "type": "UpdateExpression", "span": { "start": 102, "end": 109, "ctxt": 0 }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "span": { "start": 104, "end": 109, "ctxt": 0 }, "value": "count", "optional": false } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "VariableDeclaration", "span": { "start": 114, "end": 138, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 120, "end": 138, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 120, "end": 124, "ctxt": 0 }, "value": "oobj", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 127, "end": 138, "ctxt": 0 }, "properties": [ { "type": "Identifier", "span": { "start": 133, "end": 136, "ctxt": 0 }, "value": "obj", "optional": false } ] }, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 140, "end": 163, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 140, "end": 162, "ctxt": 0 }, "operator": "??=", "left": { "type": "MemberExpression", "span": { "start": 140, "end": 151, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 140, "end": 143, "ctxt": 0 }, "value": "obj", "optional": false }, "property": { "type": "Computed", "span": { "start": 143, "end": 151, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 144, "end": 150, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 144, "end": 148, "ctxt": 0 }, "value": "incr", "optional": false }, "arguments": [], "typeArguments": null } } }, "right": { "type": "CallExpression", "span": { "start": 156, "end": 162, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 156, "end": 160, "ctxt": 0 }, "value": "incr", "optional": false }, "arguments": [], "typeArguments": null } } }, { "type": "ExpressionStatement", "span": { "start": 164, "end": 195, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 164, "end": 194, "ctxt": 0 }, "operator": "??=", "left": { "type": "MemberExpression", "span": { "start": 164, "end": 183, "ctxt": 0 }, "object": { "type": "MemberExpression", "span": { "start": 164, "end": 175, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 164, "end": 168, "ctxt": 0 }, "value": "oobj", "optional": false }, "property": { "type": "Computed", "span": { "start": 168, "end": 175, "ctxt": 0 }, "expression": { "type": "StringLiteral", "span": { "start": 169, "end": 174, "ctxt": 0 }, "value": "obj", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, "property": { "type": "Computed", "span": { "start": 175, "end": 183, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 176, "end": 182, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 176, "end": 180, "ctxt": 0 }, "value": "incr", "optional": false }, "arguments": [], "typeArguments": null } } }, "right": { "type": "CallExpression", "span": { "start": 188, "end": 194, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 188, "end": 192, "ctxt": 0 }, "value": "incr", "optional": false }, "arguments": [], "typeArguments": null } } } ], "interpreter": null }