{"json_modified": "2016-05-08T13:39:35.229438", "uuid": "8e1eca09-ee6d-434b-8fc3-833f0e965262", "title": "The Iterator protocol", "url": "/ru/docs/Web/JavaScript/Reference/Iteration_protocols", "tags": [], "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": "One addition of ECMAScript 2015 (ES6) is not new syntax or a new built-in, but a protocol. This protocol can be implemented by any object respecting some conventions.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-05-01T11:54:59", "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": [], "locale": "zh-CN", "last_edit": "2016-04-13T06:42:42", "review_tags": []}, {"uuid": "c0fcaea3-382e-426b-b335-a5cbb53f45d3", "title": "Les protocoles d'it\u00e9ration", "url": "/fr/docs/Web/JavaScript/Reference/Les_protocoles_iteration", "tags": ["Experimental", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Intermediate", "Iterator"], "summary": "Un des \u00e9l\u00e9ments ajout\u00e9s par ECMAScript 2015 (ES6) n'est ni une nouvelle syntaxe ni un nouvel objet natif mais un protocole. Ce protocole peut \u00eatre impl\u00e9ment\u00e9 par n'importe quel objet qui respecte certaines conventions.", "localization_tags": [], "locale": "fr", "last_edit": "2016-05-02T03:39:07", "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"]}], "modified": "2016-05-08T13:39:33", "label": "The Iterator protocol", "localization_tags": ["inprogress"], "locale": "ru", "id": 133871, "last_edit": "2016-05-08T13:39:26", "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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b_\u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430", "title": "\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430"}, {"id": "\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b_\u0418\u0442\u0435\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0439", "title": "\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \"\u0418\u0442\u0435\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0439\""}, {"id": "\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b_\u0418\u0442\u0435\u0440\u0430\u0442\u043e\u0440", "title": "\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \"\u0418\u0442\u0435\u0440\u0430\u0442\u043e\u0440\""}, {"id": "\u041f\u0440\u0438\u043c\u0435\u0440\u044b_\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f_\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430_\u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u0430", "title": "\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \"\u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u0430\""}, {"id": "Builtin_iterables", "title": "Builtin iterables"}, {"id": "User-defined_iterables", "title": "User-defined iterables"}, {"id": "Builtin_APIs_need_iterables", "title": "Builtin APIs need iterables"}, {"id": "Syntaxes_need_iterables", "title": "Syntaxes need iterables"}, {"id": "Non-well-formed_iterables", "title": "Non-well-formed iterables"}, {"id": "A_generator_object_is_an_iterator_or_an_iterable", "title": "A generator object is an iterator or an iterable?"}, {"id": "Examples", "title": "Examples"}, {"id": "Simple_iterator", "title": "Simple iterator"}, {"id": "Infinite_iterator", "title": "Infinite iterator"}, {"id": "With_a_generator", "title": "With a generator"}], "slug": "Web/JavaScript/Reference/Iteration_protocols", "review_tags": []}