{"json_modified": "2015-06-05T00:58:24.732735", "slug": "Web/JavaScript/Reference/Operators/Legacy_generator_function", "tags": ["Legacy Iterator", "Reference", "JavaScript", "R\u00e9f\u00e9rence", "R\u00e9ference", "Non-standard"], "locale": "ja", "title": "Legacy generator function expression", "translations": [{"title": "Legacy generator function expression", "url": "/en-US/docs/Web/JavaScript/Reference/Operators/Legacy_generator_function", "tags": ["Legacy Iterator", "Reference", "JavaScript", "R\u00e9f\u00e9rence", "R\u00e9ference", "Non-standard"], "summary": "The function
keyword can be used to define a legacy generator function inside an expression. To make the function a legacy generator, the function body should contain at least one yield
expression.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-04-11T10:04:28", "review_tags": []}, {"title": "Fonction g\u00e9n\u00e9ratrice historique", "url": "/fr/docs/Web/JavaScript/Reference/Op%C3%A9rateurs/Fonction_g%C3%A9n%C3%A9ratrice_historique", "tags": ["Legacy Iterator", "Reference", "JavaScript", "R\u00e9f\u00e9rence", "R\u00e9ference", "Non-standard"], "summary": "Le mot-cl\u00e9 function
peut \u00eatre utilis\u00e9 afin de d\u00e9finir une fonction g\u00e9n\u00e9ratrice au sein d'une expression. Pour que la fonction soit consid\u00e9r\u00e9e comme g\u00e9n\u00e9ratrice, il faut que le corps de la fonction contiennent au moins une expression yield
.", "localization_tags": [], "locale": "fr", "last_edit": "2015-04-11T13:21:45", "review_tags": []}], "modified": "2015-06-05T00:58:23", "label": "Legacy generator function expression", "localization_tags": ["inprogress"], "url": "/ja/docs/Web/JavaScript/Reference/Operators/Legacy_generator_function", "last_edit": "2015-06-05T00:58:15", "summary": "function
\u30ad\u30fc\u30ef\u30fc\u30c9\u306f\u5f0f\u5185\u3067\u30ec\u30ac\u30b7\u30fc\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u95a2\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u95a2\u6570\u304c\u30ec\u30ac\u30b7\u30fc\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u3068\u306a\u308b\u305f\u3081\u306b\u3001\u95a2\u6570\u672c\u4f53\u306f\u5c11\u306a\u304f\u3068\u3082\u4e00\u3064\u306eyield
\u5f0f\u3092\u542b\u3080\u5fc5\u8981\u304c\u3042\u308a\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 [Translate] Generator comprehensions [Translate] Grouping operator [Translate] Legacy generator function expression [Translate] \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 expression 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 [Translate] 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": ".E5.BC.95.E6.95.B0", "title": "\u5f15\u6570"}, {"id": ".E8.AA.AC.E6.98.8E", "title": "\u8aac\u660e"}, {"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": "See_also", "title": "See also"}], "id": 152499, "review_tags": ["editorial"]}