{"json_modified": "2016-08-30T16:09:04.360897", "uuid": "cecbac2b-b242-44b4-822f-2c433abee053", "title": "Generator", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", "tags": ["Generator", "Legacy Iterator", "Reference", "JavaScript", "Legacy Generator", "ECMAScript6"], "translations": [{"uuid": "55e0e0b1-8bb2-43dc-b499-034379867dfb", "title": "Generator", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Generator", "tags": ["Generator", "R\u00e9f\u00e9rence", "ECMAScript6", "JavaScript"], "summary": "L'objet Generator est renvoy\u00e9 par une fonction g\u00e9n\u00e9ratrice, c'est \u00e0 la fois un it\u00e9rateur et un it\u00e9rable.", "localization_tags": [], "locale": "fr", "last_edit": "2016-03-27T02:34:14", "review_tags": []}, {"uuid": "30207df6-053f-4ca6-a804-f1ec922d84f6", "title": "Generator", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Generator", "tags": ["Generator", "Legacy Iterator", "Reference", "JavaScript", "Legacy Generator", "ECMAScript6"], "summary": "generator function \u306b\u3088\u3063\u3066 Generator \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u8fd4\u3055\u308c\u3001iterable \u30d7\u30ed\u30c8\u30b3\u30eb \u3068 iterator \u30d7\u30ed\u30c8\u30b3\u30eb \u306e\u4e21\u65b9\u306b\u5f93\u3044\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-04-02T02:28:21", "review_tags": []}, {"uuid": "b7b227af-7513-431b-b448-707ec4c2b7e2", "title": "Generator", "url": "/ko/docs/Web/JavaScript/Reference/Global_Objects/Generator", "tags": ["Generator", "Legacy Iterator", "Reference", "Experimental", "R\u00e9f\u00e9rence", "Exp\u00e9rimental", "Legacy Generator", "JavaScript", "ECMAScript6"], "summary": "Generator\u00a0\uac1d\uccb4\ub294\u00a0generator function \u00a0\uc73c\ub85c\ubd80\ud130 \ubc18\ud658\ub41c \uac12\uc774\uba70 \ubc18\ubcf5\uc790\uc640 \ubc18\ubcf5\uc790 \ud504\ub85c\ud1a0\ucf5c\uc744 \uc900\uc218\ud569\ub2c8\ub2e4.", "localization_tags": ["inprogress"], "locale": "ko", "last_edit": "2015-12-20T16:35:23", "review_tags": []}, {"uuid": "ca159b5e-cca5-456f-8342-22c70a52d722", "title": "Generator", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Generator", "tags": [], "summary": "O objeto Generator \u00e9 retornado por generator function e conforme iterable protocol e o iterator protocol.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2016-05-01T13:03:20", "review_tags": []}, {"uuid": "5538190d-bc43-4ad1-846d-80f585b21514", "title": "\u751f\u6210\u5668", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Generator", "tags": ["Generator", "ECMAScript6", "\u53c2\u8003", "\u751f\u6210\u5668", "JavaScript"], "summary": "\u8fd9\u4e2a\u751f\u6210\u5668\u5bf9\u8c61\u662f\u7531\u4e00\u4e2a\u751f\u6210\u5668\u51fd\u6570 generator function\u00a0\u8fd4\u56de\u7684\u3002\u5e76\u4e14\u5b83\u662f\u540c\u65f6\u9075\u5b88\u00a0The iterable protocol\u00a0\u53ef\u904d\u5386\u534f\u8bae\u548cThe\u00a0iterator protocol\u00a0\u8fed\u4ee3\u5668\u6a21\u5f0f\u534f\u8bae .", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-08-01T04:36:30", "review_tags": []}], "modified": "2016-08-30T16:09:03", "label": "Generator", "localization_tags": [], "locale": "en-US", "id": 8194, "last_edit": "2016-03-23T01:16:03", "summary": "The Generator object is returned by a generator function\u00a0and it conforms to both the iterable protocol and the iterator protocol.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Methods", "title": "Methods"}, {"id": "Example", "title": "Example"}, {"id": "An_infinite_iterator", "title": "An infinite iterator"}, {"id": "Legacy_generator_objects", "title": "Legacy generator objects"}, {"id": "Legacy_generator_methods", "title": "Legacy generator methods"}, {"id": "Legacy_generator_example", "title": "Legacy generator example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}, {"id": "Legacy_generators", "title": "Legacy generators"}, {"id": "ES6_generators", "title": "ES6 generators"}], "slug": "Web/JavaScript/Reference/Global_Objects/Generator", "review_tags": []}