{"json_modified": "2016-10-08T20:26:07.810842", "uuid": "bad36ae2-1c51-490f-b4a0-ee086006f0ab", "title": "Generator comprehensions", "url": "/en-US/docs/Web/JavaScript/Reference/Operators/Generator_comprehensions", "tags": ["Non-standard", "Reference", "Iterator", "JavaScript"], "translations": [{"uuid": "b4fbb340-6c54-41f5-b111-4fdf14e434a0", "title": "Compr\u00e9hensions de g\u00e9n\u00e9rateur", "url": "/fr/docs/Web/JavaScript/Reference/Op%C3%A9rateurs/Compr%C3%A9hensions_de_g%C3%A9n%C3%A9rateur", "tags": ["Reference", "Non-standard", "Experimental", "R\u00e9f\u00e9rence", "ECMAScript7", "JavaScript", "Iterator"], "summary": "La syntaxe de compr\u00e9hension de g\u00e9n\u00e9rateur et une expression qui permet de construire rapidement une fonction g\u00e9n\u00e9ratrice \u00e0 partir d'un objet it\u00e9rable. Ces compr\u00e9hensions existent dans de nombreux langages de programmation.", "localization_tags": [], "locale": "fr", "last_edit": "2016-01-12T11:36:24", "review_tags": []}, {"uuid": "9387514a-0d47-4379-8668-415ca0fbcb6d", "title": "Generator comprehensions", "url": "/ja/docs/Web/JavaScript/Reference/Operators/Generator_comprehensions", "tags": ["Reference", "JavaScript", "R\u00e9f\u00e9rence", "ECMAScript7", "Iterator"], "summary": "generator comprehension \u69cb\u6587\u306f\u3059\u3050\u306b\u65e2\u5b58\u306e\u53cd\u5fa9\u53ef\u80fd\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u57fa\u3065\u3044\u3066\u65b0\u305f\u306a\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u95a2\u6570\u3092\u7d44\u307f\u7acb\u3066\u308b\u3053\u3068\u304c\u3067\u304dJavaScript\u306e\u5f0f\u3067\u3059\u3002\u5185\u5305\u8868\u8a18\u306f\u3001\u591a\u304f\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306b\u5b58\u5728\u3057\u3001\u4eca\u5f8c\u306eECMAScript\u306e7\u6a19\u6e96\u3067\u306f\u3001JavaScript\u306e\u914d\u5217\u306e\u5185\u5305\u8868\u8a18\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-06-08T01:38:20", "review_tags": ["editorial"]}, {"uuid": "35b37997-9e44-40ae-8c6d-9948957b6131", "title": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 (Generator comprehensions)", "url": "/ru/docs/Web/JavaScript/Reference/Operators/Generator_comprehensions", "tags": ["\u0418\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u044b"], "summary": "\u0412\u043d\u0443\u0442\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b \u0434\u0432\u0430 \u0442\u0438\u043f\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432:", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2016-07-10T06:33:30", "review_tags": ["editorial"]}, {"uuid": "33d7ee48-f18c-40a3-b27a-bebbd67dd820", "title": "Generator\u63a8\u5bfc\u5f0f", "url": "/zh-CN/docs/Web/JavaScript/Reference/Operators/Generator_comprehensions", "tags": [], "summary": "The generator comprehension syntax is a JavaScript expression which allows you to quickly assemble a new generator function based on an existing iterable object. Comprehensions exist in many programming languages and the upcoming ECMAScript 7 standard defines array comprehensions for JavaScript.", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2016-10-08T20:25:58", "review_tags": []}], "modified": "2016-09-01T10:47:41", "label": "Generator comprehensions", "localization_tags": [], "locale": "en-US", "id": 131855, "last_edit": "2016-01-12T09:01:39", "summary": "The generator comprehension syntax is a JavaScript expression which allows you to quickly assemble a new generator function based on an existing iterable object. Comprehensions exist in many programming languages.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Description", "title": "Description"}, {"id": "Examples", "title": "Examples"}, {"id": "Simple_generator_comprehensions", "title": "Simple generator comprehensions"}, {"id": "Generator_comprehensions_with_if_statement", "title": "Generator comprehensions with if statement"}, {"id": "Generator_comprehensions_compared_to_generator_function", "title": "Generator comprehensions compared to generator function"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "SpiderMonkey-specific_implementation_notes", "title": "SpiderMonkey-specific implementation notes"}, {"id": "Differences_to_the_older_JS1.7JS1.8_comprehensions", "title": "Differences to the older JS1.7/JS1.8 comprehensions"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Operators/Generator_comprehensions", "review_tags": []}