{"json_modified": "2015-06-08T01:38:30.243207", "slug": "Web/JavaScript/Reference/Operators/Generator_comprehensions", "tags": ["Reference", "JavaScript", "R\u00e9f\u00e9rence", "ECMAScript7", "R\u00e9ference", "Iterator"], "locale": "ja", "title": "Generator comprehensions", "translations": [{"title": "Generator comprehensions", "url": "/en-US/docs/Web/JavaScript/Reference/Operators/Generator_comprehensions", "tags": ["Reference", "JavaScript", "R\u00e9f\u00e9rence", "ECMAScript7", "R\u00e9ference", "Iterator"], "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": [], "locale": "en-US", "last_edit": "2015-04-11T10:01:36", "review_tags": []}, {"title": "Compr\u00e9hensions de g\u00e9n\u00e9rateur", "url": "/fr/docs/Web/JavaScript/Reference/Op%C3%A9rateurs/Generator_comprehensions", "tags": ["Reference", "JavaScript", "R\u00e9f\u00e9rence", "ECMAScript7", "R\u00e9ference", "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, pour JavaScript, elles seront d\u00e9finies dans le futur standard ECMAScript 7.", "localization_tags": [], "locale": "fr", "last_edit": "2015-04-11T13:24:27", "review_tags": []}], "modified": "2015-06-08T01:38:28", "label": "Generator comprehensions", "localization_tags": ["inprogress"], "url": "/ja/docs/Web/JavaScript/Reference/Operators/Generator_comprehensions", "last_edit": "2015-06-08T01:38:20", "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", "sections": [{"id": "Quick_Links", "title": "JavaScript Tutorials: JavaScript Guide Introduction Grammar and types Control flow and error handling Loops and iteration Functions Expressions and operators Numbers and dates Text formatting Regular expressions Indexed collections Keyed collections Working with objects Details of the object model Iterators and generators Meta programming Introductory JavaScript basics JavaScript technologies overview Introduction to Object Oriented JavaScript Intermediate A re-introduction to JavaScript JavaScript data structures Equality comparisons and sameness Closures Advanced Inheritance and the prototype chain Strict mode JavaScript typed arrays SIMD types Memory Management Concurrency model and Event Loop References: Built-in objects Global Objects Array ArrayBuffer Boolean DataView Date Error EvalError Float32Array Float64Array Function Generator GeneratorFunction Infinity Int16Array Int32Array Int8Array InternalError Intl Intl.Collator Intl.DateTimeFormat Intl.NumberFormat Iterator JSON Map Math NaN Number Object ParallelArray Promise Proxy RangeError ReferenceError Reflect RegExp SIMD SIMD.float32x4 SIMD.float64x2 SIMD.int16x8 SIMD.int32x4 SIMD.int8x16 Set StopIteration String Symbol SyntaxError TypeError TypedArray URIError Uint16Array Uint32Array Uint8Array Uint8ClampedArray WeakMap WeakSet decodeURI() decodeURIComponent() encodeURI() encodeURIComponent() escape() eval() isFinite() isNaN() null parseFloat() parseInt() undefined unescape() uneval() Expressions & operators \u6f14\u7b97\u5b50 \u7b97\u8853\u6f14\u7b97\u5b50 Array comprehensions \u4ee3\u5165\u6f14\u7b97\u5b50 \u30d3\u30c3\u30c8\u6f14\u7b97\u5b50 \u30ab\u30f3\u30de\u6f14\u7b97\u5b50 \u6bd4\u8f03\u6f14\u7b97\u5b50 \u6761\u4ef6\u6f14\u7b97\u5b50 Destructuring assignment Expression closures Generator comprehensions [Translate] Grouping operator [Translate] Legacy generator function expression \u8ad6\u7406\u6f14\u7b97\u5b50 Object initializer [Translate] \u6f14\u7b97\u5b50\u306e\u512a\u5148\u9806\u4f4d \u30e1\u30f3\u30d0\u30fc\u6f14\u7b97\u5b50 Spread operator class \u5f0f delete function function* expression in instanceof new super this typeof \u6f14\u7b97\u5b50 void \u6f14\u7b97\u5b50 yield yield* Statements & declarations \u6587 Legacy generator function \u30d6\u30ed\u30c3\u30af break class const continue debugger do...while empty export for for each...in for...in for...of function function* if...else import label let return switch throw try...catch var while with Functions \u95a2\u6570\u3068\u95a2\u6570\u30b9\u30b3\u30fc\u30d7 arguments \u30a2\u30ed\u30fc\u95a2\u6570 Default parameters Method definitions Rest parameters get set Classes Classes constructor extends static Misc Lexical grammar JavaScript data structures Enumerability and ownership of properties Iteration protocols Strict mode Transitioning to strict mode Template strings Deprecated features New in JavaScript JavaScript \u306e\u65b0\u6a5f\u80fd Mozilla \u306b\u304a\u3051\u308b ECMAScript 5 \u306e\u30b5\u30dd\u30fc\u30c8 Mozilla \u306b\u304a\u3051\u308b ECMAScript 6 \u306e\u30b5\u30dd\u30fc\u30c8 Mozilla \u306b\u304a\u3051\u308b ECMAScript 7 \u306e\u30b5\u30dd\u30fc\u30c8 Firefox JavaScript changelog [Translate] JavaScript 1.1 \u306e\u65b0\u6a5f\u80fd New in JavaScript 1.2 [Translate] JavaScript 1.3 \u306e\u65b0\u6a5f\u80fd JavaScript 1.4 \u306e\u65b0\u6a5f\u80fd JavaScript 1.5 \u306e\u65b0\u6a5f\u80fd JavaScript 1.6 \u306e\u65b0\u6a5f\u80fd JavaScript 1.7 \u306e\u65b0\u6a5f\u80fd JavaScript 1.8 \u306e\u65b0\u6a5f\u80fd JavaScript 1.8.1 \u306e\u65b0\u6a5f\u80fd JavaScript 1.8.5 \u306e\u65b0\u6a5f\u80fd Documentation: Useful lists All pages index Methods index Properties index Pages tagged \"JavaScript\" Contribute JavaScript doc status The MDN project"}, {"id": ".E6.A7.8B.E6.96.87", "title": "\u69cb\u6587"}, {"id": ".E8.AA.AC.E6.98.8E", "title": "\u8aac\u660e"}, {"id": ".E4.BE.8B", "title": "\u4f8b"}, {"id": ".E7.B0.A1.E5.8D.98.E3.81.AA.E3.82.B8.E3.82.A7.E3.83.8D.E3.83.AC.E3.83.BC.E3.82.BF.E5.86.85.E5.8C.85.E8.A1.A8.E8.A8.98", "title": "\u7c21\u5358\u306a\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u5185\u5305\u8868\u8a18"}, {"id": "if.E6.96.87.E3.81.A8.E7.94.A8.E3.81.84.E3.81.9F.E3.82.B8.E3.82.A7.E3.83.8D.E3.83.AC.E3.83.BC.E3.82.BF.E5.86.85.E5.8C.85.E8.A1.A8.E8.A8.98", "title": "if\u6587\u3068\u7528\u3044\u305f\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u5185\u5305\u8868\u8a18"}, {"id": ".E3.82.B8.E3.82.A7.E3.83.8D.E3.83.AC.E3.83.BC.E3.82.BF.E9.96.A2.E6.95.B0.E3.81.A8.E6.AF.94.E8.BC.83.E3.81.97.E3.81.9F.E3.82.B8.E3.82.A7.E3.83.8D.E3.83.AC.E3.83.BC.E3.82.BF.E5.86.85.E5.8C.85.E8.A1.A8.E8.A8.98", "title": "\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u95a2\u6570\u3068\u6bd4\u8f03\u3057\u305f\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u5185\u5305\u8868\u8a18"}, {"id": ".E4.BB.95.E6.A7.98", "title": "\u4ed5\u69d8"}, {"id": ".E3.83.96.E3.83.A9.E3.82.A6.E3.82.B6.E5.AE.9F.E8.A3.85.E7.8A.B6.E6.B3.81", "title": "\u30d6\u30e9\u30a6\u30b6\u5b9f\u88c5\u72b6\u6cc1"}, {"id": "SpiderMonkey.E5.9B.BA.E6.9C.89.E3.81.AE.E5.AE.9F.E8.A3.85.E3.83.A1.E3.83.A2", "title": "SpiderMonkey\u56fa\u6709\u306e\u5b9f\u88c5\u30e1\u30e2"}, {"id": ".E5.8F.A4.E3.81.84JS1.7.2FJS1.8.E5.86.85.E5.8C.85.E8.A1.A8.E8.A8.98.E3.81.A8.E3.81.AE.E9.81.95.E3.81.84", "title": "\u53e4\u3044JS1.7/JS1.8\u5185\u5305\u8868\u8a18\u3068\u306e\u9055\u3044"}, {"id": ".E9.96.A2.E9.80.A3.E6.83.85.E5.A0.B1", "title": "\u95a2\u9023\u60c5\u5831"}], "id": 152751, "review_tags": ["editorial"]}