{"json_modified": "2016-10-06T03:58:40.645575", "uuid": "c0fcaea3-382e-426b-b335-a5cbb53f45d3", "title": "Les protocoles d'it\u00e9ration", "url": "/fr/docs/Web/JavaScript/Reference/Les_protocoles_iteration", "tags": ["R\u00e9f\u00e9rence", "ECMAScript6", "Interm\u00e9diaire", "Iterator", "JavaScript"], "translations": [{"uuid": "cb4c6971-a84a-4cca-b619-d2ae5fe1c3f0", "title": "Iteration protocols", "url": "/en-US/docs/Web/JavaScript/Reference/Iteration_protocols", "tags": ["ECMAScript6", "Intermediate", "Iterable", "Iterator", "JavaScript"], "summary": "A couple of additions to ECMAScript 2015 (ES6) aren't new built-ins or syntax, but protocols. These protocols can be implemented by any object respecting some conventions.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-10-06T02:42:47", "review_tags": []}, {"uuid": "06fbfb75-df26-4c10-9d74-de5ffa5a94dc", "title": "Protocolos de Iteraci\u00f3n", "url": "/es/docs/Web/JavaScript/Referencia/Iteration_protocols", "tags": ["Iterable", "Intermedio", "Experimental", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Iterador"], "summary": "El protocolo\u00a0iterable\u00a0le permite a\u00a0los objetos en\u00a0JavaScript definir o personalizar su comportamiento de iteraci\u00f3n, como por ejemplo\u00a0qu\u00e9\u00a0valores son\u00a0iterados dentro de una sentencia\u00a0for..of
. Algunos objetos nativos, como\u00a0Array
o Map
, tienen un comportamiento de iteraci\u00f3n por defecto, mientras otros objetos (como por ejemplo Object
) no.", "localization_tags": [], "locale": "es", "last_edit": "2015-05-07T12:26:20", "review_tags": []}, {"uuid": "48f24385-4c3c-44b8-8254-f3181be0cf2d", "title": "Iteration protocols", "url": "/ja/docs/Web/JavaScript/Reference/Iteration_protocols", "tags": ["Iterable", "Experimental", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Intermediate", "Iterator"], "summary": "ECMAScript\u7b2c\uff16\u7248\u306e\u3044\u305a\u308c\u304b\u306b\u52a0\u3048\u3066\u3001\u65b0\u3057\u3044\u69cb\u6587\u3084\u65b0\u3057\u3044\u30d3\u30eb\u30c8\u30a4\u30f3\u3067\u306f\u306a\u304f\u3001\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3059\u3002\u3053\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u306f\u3044\u304f\u3064\u304b\u306e\u898f\u5247\u3092\u5c0a\u91cd\u3059\u308b\u4efb\u610f\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u3088\u3063\u3066\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-06-03T19:53:59", "review_tags": ["editorial"]}, {"uuid": "cec47409-37c9-4bc0-b6a4-808b0411d16f", "title": "Iteration protocols", "url": "/ko/docs/Web/JavaScript/Reference/Iteration_protocols", "tags": [], "summary": "ECMAScript 2015 (ES6) \uc758 \ud55c \uac00\uc9c0 \ucd94\uac00 \uc0ac\ud56d\uc740 \uc0c8\ub85c\uc6b4 \ubb38\ubc95\uc774\ub098 built-in \uc774 \uc544\ub2c8\ub77c, protocol \uc785\ub2c8\ub2e4. \uc774 protocol \uc740 \uc77c\uc815 \uaddc\uce59\ub9cc \ucda9\uc871\ud55c\ub2e4\uba74 \uc5b4\ub5a0\ud55c\u00a0\uac1d\uccb4\uc5d0 \uc758\ud574\uc11c\ub3c4 \uad6c\ud604\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.", "localization_tags": ["inprogress"], "locale": "ko", "last_edit": "2016-07-19T03:11:48", "review_tags": []}, {"uuid": "8e1eca09-ee6d-434b-8fc3-833f0e965262", "title": "The Iterator protocol", "url": "/ru/docs/Web/JavaScript/Reference/Iteration_protocols", "tags": [], "summary": "\u041e\u0434\u043d\u043e \u0438\u0437 \u043d\u043e\u0432\u043e\u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0430 ECMAScript 6 - \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u043b\u044e\u0431\u044b\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u043c, \u0441\u043e\u0431\u043b\u044e\u0434\u0430\u044f \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2016-05-08T13:39:26", "review_tags": []}, {"uuid": "68f2d95b-7476-4802-8dd4-d5ee1aa511ec", "title": "\u8fed\u4ee3\u534f\u8bae", "url": "/zh-CN/docs/Web/JavaScript/Reference/Iteration_protocols", "tags": [], "summary": "\u4f5c\u4e3a ECMAScript 2015 (ES6)\u65b0\u589e\u52a0\u7684\u4e00\u90e8\u5206\uff0c\u5b83\u4e0d\u662f\u65b0\u8bed\u6cd5\u6216\u4e00\u4e2a\u65b0\u7684\u5185\u7f6e\u5bf9\u8c61\uff0c\u800c\u662f\u4e00\u79cd\u534f\u8bae(protocol)\u3002\u8fd9\u79cd\u534f\u8bae\u80fd\u88ab\u4efb\u4f55\u9075\u5faa\u67d0\u4e9b\u7ea6\u5b9a\u7684\u5bf9\u8c61\u5b9e\u73b0\u3002", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2016-09-01T19:23:40", "review_tags": []}], "modified": "2016-10-06T03:58:38", "label": "Les protocoles d'it\u00e9ration", "localization_tags": [], "locale": "fr", "id": 114093, "last_edit": "2016-10-06T03:58:26", "summary": "Un des ajouts \u00e0 ECMAScript 2015 (ES6) n'est ni une nouvelle syntaxe ni un nouvel objet natif mais des protocoles. Ces protocoles peuvent \u00eatre impl\u00e9ment\u00e9s par n'importe quel objet qui respecte certaines conventions.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Le_protocole_\u00ab_it\u00e9rable_\u00bb", "title": null}, {"id": "Le_protocole_\u00ab_it\u00e9rateur_\u00bb", "title": null}, {"id": "Exemples_d'utilisation_des_protocoles_d'it\u00e9ration", "title": "Exemples d'utilisation des protocoles d'it\u00e9ration"}, {"id": "Exemples_d'it\u00e9rables", "title": "Exemples d'it\u00e9rables"}, {"id": "Les_it\u00e9rables_natifs", "title": "Les it\u00e9rables natifs"}, {"id": "Les_it\u00e9rables_d\u00e9finis_par_l'utilisateur", "title": "Les it\u00e9rables d\u00e9finis par l'utilisateur"}, {"id": "Les_API_natives_utilisant_des_it\u00e9rables", "title": "Les API natives utilisant des it\u00e9rables"}, {"id": "Les_\u00e9l\u00e9ments_de_syntaxe_utilisant_des_it\u00e9rables", "title": "Les \u00e9l\u00e9ments de syntaxe utilisant des it\u00e9rables"}, {"id": "It\u00e9rables_mal-form\u00e9s", "title": "It\u00e9rables mal-form\u00e9s"}, {"id": "Exemples_d'it\u00e9rateurs", "title": "Exemples d'it\u00e9rateurs"}, {"id": "Un_it\u00e9rateur_simple", "title": "Un it\u00e9rateur simple"}, {"id": "Un_it\u00e9rateur_infini", "title": "Un it\u00e9rateur infini"}, {"id": "Avec_un_g\u00e9n\u00e9rateur", "title": "Avec un g\u00e9n\u00e9rateur"}, {"id": "Un_g\u00e9n\u00e9rateur_est-il_un_it\u00e9rateur_ou_un_it\u00e9rable", "title": "Un g\u00e9n\u00e9rateur est-il un it\u00e9rateur ou un it\u00e9rable ?"}, {"id": "Compatibilit\u00e9_des_navigateurs", "title": "Compatibilit\u00e9 des navigateurs"}, {"id": "Notes_sp\u00e9cifiques_\u00e0_Firefox", "title": "Notes sp\u00e9cifiques \u00e0 Firefox"}, {"id": "Renvoi_d'un_objet_IteratorResult_\u00e0_la_place_d'une_exception", "title": "Renvoi d'un objet "}, {"id": "La_propri\u00e9t\u00e9_Iterator_et_le_symbole_iterator", "title": "La propri\u00e9t\u00e9 "}, {"id": "Sp\u00e9cifications", "title": "Sp\u00e9cifications"}, {"id": "Voir_aussi", "title": "Voir aussi"}], "slug": "Web/JavaScript/Reference/Les_protocoles_iteration", "review_tags": []}