{ "type": "Script", "span": { "start": 15, "end": 130, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 21, "end": 35, "ctxt": 0 }, "value": "SymbolIterator", "optional": false }, "declare": false, "span": { "start": 15, "end": 92, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 42, "end": 90, "ctxt": 0 }, "key": { "type": "Computed", "span": { "start": 42, "end": 59, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 43, "end": 58, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 43, "end": 49, "ctxt": 0 }, "value": "Symbol", "optional": false }, "property": { "type": "Identifier", "span": { "start": 50, "end": 58, "ctxt": 0 }, "value": "iterator", "optional": false } } }, "function": { "params": [], "decorators": [], "span": { "start": 42, "end": 90, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 62, "end": 90, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 72, "end": 84, "ctxt": 0 }, "argument": { "type": "ThisExpression", "span": { "start": 79, "end": 83, "ctxt": 0 } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "VariableDeclaration", "span": { "start": 94, "end": 130, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 98, "end": 129, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 98, "end": 103, "ctxt": 0 }, "value": "array", "optional": false, "typeAnnotation": null }, "init": { "type": "ArrayExpression", "span": { "start": 106, "end": 129, "ctxt": 0 }, "elements": [ { "spread": { "start": 107, "end": 110, "ctxt": 0 }, "expression": { "type": "NewExpression", "span": { "start": 110, "end": 128, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 114, "end": 128, "ctxt": 0 }, "value": "SymbolIterator", "optional": false }, "arguments": null, "typeArguments": null } } ] }, "definite": false } ] } ], "interpreter": null }