{"json_modified": "2015-04-26T06:30:49.949372", "slug": "Web/JavaScript/Referencia/Sentencies/for...of", "tags": [], "locale": "ca", "title": "for...of", "translations": [{"title": "for...of", "url": "/en-US/docs/Web/JavaScript/Reference/Statements/for...of", "tags": ["Statement", "ECMAScript6", "Experimental", "Exp\u00e9rimental", "JavaScript"], "summary": "The for...of statement creates a loop Iterating over iterable objects (including Array,\u00a0Map, Set,\u00a0arguments\u00a0object and so on), invoking a custom iteration hook with statements to be executed for the value of each distinct property.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-04-12T05:27:12", "review_tags": []}, {"title": "for...of", "url": "/zh-CN/docs/Web/JavaScript/Reference/Statements/for...of", "tags": [], "summary": "\u8be5\u8bed\u53e5\u7528\u6765\u904d\u5386\u4e00\u4e2a\u53ef\u8fed\u4ee3\u5bf9\u8c61(\u5305\u62ec\u6570\u7ec4,\u7c7b\u6570\u7ec4\u5bf9\u8c61,\u8fed\u4ee3\u5668\u548c\u751f\u6210\u5668 ),\u9488\u5bf9\u6bcf\u4e2a\u5c5e\u6027\u7684\u5c5e\u6027\u503c,\u8c03\u7528\u4e00\u4e2a\u81ea\u5b9a\u4e49\u7684\u8bed\u53e5\u5757.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-04-18T00:46:00", "review_tags": []}, {"title": "for...of", "url": "/ja/docs/Web/JavaScript/Reference/Statements/for...of", "tags": ["ECMAScript6", "JavaScript Reference", "NeedsBrowserCompatibility", "JavaScript"], "summary": "\u53cd\u5fa9\u51e6\u7406\u53ef\u80fd\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 (Array\u3001Array \u306b\u985e\u4f3c\u3059\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3001\u30a4\u30c6\u30ec\u30fc\u30bf\u3084\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u3092\u542b\u3080) \u306b\u53cd\u5fa9\u51e6\u7406\u3092\u884c\u3044\u3001\u5404\u3005\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u306b\u5bfe\u3057\u3066\u5b9f\u884c\u3059\u308b\u6587\u3068\u3068\u3082\u306b\u72ec\u81ea\u306e\u53cd\u5fa9\u51e6\u7406\u306e\u30d5\u30c3\u30af\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-17T00:28:39", "review_tags": []}, {"title": "for...of", "url": "/fr/docs/Web/JavaScript/Reference/Instructions/for...of", "tags": ["Reference", "JavaScript", "Experimental", "R\u00e9ference", "R\u00e9f\u00e9rence", "Exp\u00e9rimental", "Statement", "ECMAScript6"], "summary": "L'instruction for...of permet de cr\u00e9er une boucle qui parcourt un objet it\u00e9rable (ce qui inclue les objets Array, Map, Set, l'objet arguments, etc.) et qui permet d'ex\u00e9cuter une instruction pour la valeur de chaque propri\u00e9t\u00e9.", "localization_tags": [], "locale": "fr", "last_edit": "2015-04-13T13:02:30", "review_tags": []}, {"title": "for...of", "url": "/ru/docs/Web/JavaScript/Reference/Statements/for...of", "tags": ["ECMAScript6", "\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440", "\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439", "JavaScript"], "summary": "\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u00a0for...of\u00a0\u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0446\u0438\u043a\u043b \u043e\u0431\u0445\u043e\u0434\u0430\u00a0\u0438\u0442\u0435\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432\u00a0(\u0432\u043a\u043b\u044e\u0447\u0430\u044f Array,\u00a0Map, Set, \u043e\u0431\u044a\u0435\u043a\u0442\u00a0\u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432\u00a0\u0438 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445), \u0432\u044b\u0437\u044b\u0432\u0430\u044f \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0448\u0430\u0433\u0435 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u0430.", "localization_tags": [], "locale": "ru", "last_edit": "2014-11-19T12:11:50", "review_tags": ["editorial"]}], "modified": "2015-04-26T06:30:47", "label": "for...of", "localization_tags": [], "url": "/ca/docs/Web/JavaScript/Referencia/Sentencies/for...of", "last_edit": "2015-04-26T06:30:30", "summary": "La instrucci\u00f3 for...of crea un bucle que itera sobre objectes iterables (incloent Array,\u00a0Map, Set, l'objecte arguments, etc\u00e8tera), tot invocant un bloc de codi amb les instruccions a executar per a cada valor de la propietat.", "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": "Summary", "title": "Resum"}, {"id": "Sintaxi", "title": "Sintaxi"}, {"id": "Exemples", "title": "Exemples"}, {"id": "Difer.C3.A8ncia_entre_for...of_i_for...in", "title": "Difer\u00e8ncia entre for...of i for...in"}, {"id": ".C3.9As_de_Array.prototype.forEach()", "title": "\u00das de Array.prototype.forEach()"}, {"id": "Iteraci.C3.B3_de_coleccions_del_DOM", "title": "Iteraci\u00f3 de coleccions del DOM"}, {"id": "Iteraci.C3.B3_de_generadors.3A", "title": "Iteraci\u00f3 de generadors:"}, {"id": "Especificacions", "title": "Especificacions"}, {"id": "Compatibilitat_amb_navegadors", "title": "Compatibilitat amb navegadors"}, {"id": "Vegeu_tamb.C3.A9", "title": "Vegeu tamb\u00e9"}], "id": 135369, "review_tags": []}