{"json_modified": "2015-04-26T06:44:19.358597", "slug": "Web/JavaScript/Referencia/Operadors/yield", "tags": [], "locale": "ca", "title": "yield", "translations": [{"title": "yield", "url": "/en-US/docs/Web/JavaScript/Reference/Operators/yield", "tags": ["Generators", "Experimental", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Operator", "Iterator"], "summary": "The yield
keyword is used to pause and resume a generator function (function*
or legacy generator function).", "localization_tags": [], "locale": "en-US", "last_edit": "2015-04-11T10:43:47", "review_tags": []}, {"title": "yield", "url": "/ja/docs/JavaScript/Reference/Operators/yield", "tags": ["NeedsContent", "JavaScript Reference", "Generators", "JavaScript"], "summary": "yeild \u30ad\u30fc\u30ef\u30fc\u30c9\u306f\u95a2\u6570\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u306e\u4e00\u6642\u505c\u6b62\u3001\u518d\u958b\u306b\u7528\u3044\u308b\u3082\u306e\u3067\u3059\u3002(function*
or legacy generator function).", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-04-24T00:27:55", "review_tags": []}, {"title": "yield", "url": "/zh-CN/docs/Web/JavaScript/Reference/Operators/yield", "tags": [], "summary": "yield
\u5173\u952e\u5b57\u7528\u6765\u6682\u505c\u548c\u7ee7\u7eed\u4e00\u4e2a\u751f\u6210\u5668\u51fd\u6570 (function*
or legacy generator).", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-01-19T05:45:59", "review_tags": []}, {"title": "yield", "url": "/fr/docs/Web/JavaScript/Reference/Op%C3%A9rateurs/yield", "tags": ["Generators", "Reference", "R\u00e9ference", "Experimental", "R\u00e9f\u00e9rence", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Iterators", "Operator"], "summary": "Le mot-cl\u00e9 yield
est utilis\u00e9 afin d'interrompre eu de reprendre un g\u00e9n\u00e9rateur (une instruction (function*
ou un g\u00e9n\u00e9rateur historique).", "localization_tags": [], "locale": "fr", "last_edit": "2015-04-11T12:33:34", "review_tags": []}, {"title": "yield", "url": "/ru/docs/Web/JavaScript/Reference/Operators/yield", "tags": ["\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439", "\u0418\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u044b", "\u0413\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u044b", "JavaScript", "ECMAScript6", "\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440"], "summary": "\u041a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e\u00a0yield
\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u0432\u043e\u0437\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438-\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430.", "localization_tags": [], "locale": "ru", "last_edit": "2014-11-24T12:17:09", "review_tags": ["technical", "editorial"]}], "modified": "2015-04-26T06:44:17", "label": "yield", "localization_tags": [], "url": "/ca/docs/Web/JavaScript/Referencia/Operadors/yield", "last_edit": "2015-03-09T06:26:23", "summary": "La paraula clau yield
s'utilitza per a pausar i reprendre una funci\u00f3 generadora (function*
o b\u00e9 una funci\u00f3 generadora obsoleta).", "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 Memory Management Concurrency model and Event Loop References: Built-in objects Objectes Standard Array [Translate] ArrayBuffer [Translate] Boolean DataView [Translate] Date Error EvalError [Translate] Float32Array [Translate] Float64Array [Translate] Function [Translate] Generator [Translate] GeneratorFunction [Translate] Infinity Int16Array [Translate] Int32Array [Translate] Int8Array [Translate] InternalError [Translate] Intl [Translate] Intl.Collator [Translate] Intl.DateTimeFormat [Translate] Intl.NumberFormat [Translate] Iterator [Translate] JSON Map Math NaN Number Object [Translate] ParallelArray [Translate] Promise [Translate] Proxy [Translate] RangeError [Translate] ReferenceError [Translate] Reflect [Translate] RegExp [Translate] SIMD [Translate] Set [Translate] StopIteration [Translate] String Symbol [Translate] SyntaxError [Translate] TypeError [Translate] TypedArray [Translate] URIError [Translate] Uint16Array [Translate] Uint32Array [Translate] Uint8Array [Translate] Uint8ClampedArray [Translate] WeakMap [Translate] WeakSet [Translate] decodeURI() [Translate] decodeURIComponent() [Translate] encodeURI() [Translate] encodeURIComponent() [Translate] escape() [Translate] eval() [Translate] isFinite() [Translate] isNaN() [Translate] null parseFloat() [Translate] parseInt() [Translate] undefined unescape() [Translate] uneval() [Translate] Expressions & operators Expressions and operators Operadors aritm\u00e8tics Array comprehensions [Translate] Assignment operators Operadors de bits Operador Coma Comparison operators [Translate] Operador Condicional (ternari) Destructuring assignment [Translate] Expression closures [Translate] Generator comprehensions [Translate] Operador d'agrupament Legacy generator function expression [Translate] Operadors L\u00f2gics Object initializer [Translate] Operator precedence [Translate] Property accessors [Translate] Spread operator [Translate] class expression [Translate] Operador delete function expression [Translate] function* expression [Translate] in operator [Translate] instanceof [Translate] new operator [Translate] super this [Translate] typeof L'operador void yield yield* [Translate] Statements & declarations Statements and declarations Legacy generator function [Translate] block break [Translate] class [Translate] const [Translate] continue [Translate] debugger [Translate] do...while [Translate] Buida export [Translate] for for each...in [Translate] for...in [Translate] for...of function function* [Translate] if...else import [Translate] label [Translate] let [Translate] return switch [Translate] throw [Translate] try...catch [Translate] var [Translate] while with [Translate] Functions Functions [Translate] Arguments object [Translate] Arrow functions [Translate] Default parameters [Translate] Method definitions [Translate] Rest parameters [Translate] getter [Translate] setter [Translate] Classes Classes constructor extends [Translate] 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 New in JavaScript [Translate] ECMAScript 5 support in Mozilla [Translate] ECMAScript 6 support in Mozilla [Translate] ECMAScript 7 support in Mozilla [Translate] Firefox JavaScript changelog [Translate] New in JavaScript 1.1 [Translate] New in JavaScript 1.2 [Translate] New in JavaScript 1.3 [Translate] New in JavaScript 1.4 [Translate] New in JavaScript 1.5 [Translate] New in JavaScript 1.6 [Translate] New in JavaScript 1.7 [Translate] New in JavaScript 1.8 [Translate] New in JavaScript 1.8.1 [Translate] New in JavaScript 1.8.5 [Translate] Documentation: Useful lists All pages index Methods index Properties index Pages tagged \"JavaScript\" Contribute JavaScript doc status The MDN project"}, {"id": "Resum", "title": "Resum"}, {"id": "Syntax", "title": "Sintaxi"}, {"id": "Descripci.C3.B3", "title": "Descripci\u00f3"}, {"id": "Exemples", "title": "Exemples"}, {"id": "Specifications", "title": "Especificacions"}, {"id": "Browser_compatibility", "title": "Compatibilitat amb navegadors"}, {"id": "Notes_espec.C3.ADfiques_per_a_Firefox", "title": "Notes espec\u00edfiques per a Firefox"}, {"id": "See_also", "title": "Vegeu tamb\u00e8"}], "id": 140337, "review_tags": ["editorial"]}