{"json_modified": "2015-04-22T09:44:08.317891", "slug": "Web/JavaScript/Reference/Global_Objects/Iterator", "tags": [], "locale": "ru", "title": "Iterator", "translations": [{"title": "Iterator", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Iterator", "tags": ["Non-standard", "Reference", "R\u00e9f\u00e9rence", "Legacy Iterator", "JavaScript"], "summary": "The Iterator
function returns an object which implements legacy iterator protocol and iterates over enumerable properties of an object.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-02-14T13:54:35", "review_tags": []}, {"title": "Iterator", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Iterator", "tags": ["Non-standard", "Reference", "R\u00e9f\u00e9rence", "Legacy Iterator", "JavaScript"], "summary": "La fonction Iterator
renvoie un objet impl\u00e9mentant le protocole it\u00e9rateur historique qui permet d'it\u00e9rer sur les propri\u00e9t\u00e9s \u00e9num\u00e9rables d'un objet.", "localization_tags": [], "locale": "fr", "last_edit": "2015-02-16T03:46:48", "review_tags": []}], "modified": "2015-04-22T09:44:07", "label": "Iterator", "localization_tags": [], "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Iterator", "last_edit": "2015-04-22T09:43:59", "summary": "The Iterator
function returns an object which implements legacy iterator protocol and iterates over enumerable properties of an object.", "sections": [{"id": "Quick_Links", "title": "JavaScript \u0423\u0440\u043e\u043a\u0438: \u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e JavaScript 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 \u0411\u0430\u0437\u043e\u0432\u044b\u0435 JavaScript basics \u041e\u0431\u0437\u043e\u0440 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 JavaScript \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 JavaScript \u0421\u0440\u0435\u0434\u043d\u0438\u0435 \u041f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0435 \u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 JavaScript \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 JavaScript \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043d\u0430 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u043e \u0438 \u043a\u043e\u0433\u0434\u0430 \u0438\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Closures \u041f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0435 \u041d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0446\u0435\u043f\u043e\u0447\u043a\u0430 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u043e\u0432 \u0421\u0442\u0440\u043e\u0433\u0438\u0439 \u0440\u0435\u0436\u0438\u043c \u0422\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u044b JavaScript \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043c\u044f\u0442\u044c\u044e Concurrency model and Event Loop \u0421\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f: \u0412\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b Array ArrayBuffer [Translate] Boolean DataView [Translate] Date Error EvalError Float32Array [Translate] Float64Array [Translate] Function Generator [Translate] GeneratorFunction [Translate] Infinity Int16Array [Translate] Int32Array [Translate] Int8Array [Translate] InternalError Intl Intl.Collator Intl.DateTimeFormat Intl.NumberFormat Iterator JSON Map Math NaN Number Object ParallelArray Promise \u041f\u0440\u043e\u043a\u0441\u0438 RangeError ReferenceError Reflect [Translate] RegExp Set StopIteration [Translate] String Symbol SyntaxError TypeError TypedArray [Translate] URIError Uint16Array [Translate] Uint32Array [Translate] Uint8Array [Translate] Uint8ClampedArray [Translate] WeakMap WeakSet [Translate] decodeURI() [Translate] decodeURIComponent() encodeURI() encodeURIComponent() [Translate] escape() [Translate] eval() [Translate] isFinite() isNaN null parseFloat() parseInt() undefined unescape() uneval() \u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0410\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 Array comprehensions [Translate] \u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u043d\u0438\u044f \u0411\u0438\u0442\u043e\u0432\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0417\u0430\u043f\u044f\u0442\u0430\u044f Comparison operators [Translate] Conditional (ternary) Operator [Translate] \u0414\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0438\u0432\u043d\u043e\u0435 \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u043d\u0438\u0435 Expression closures [Translate] Generator comprehensions [Translate] Grouping operator [Translate] Legacy generator function expression [Translate] Logical Operators [Translate] Object initializer [Translate] \u041f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u044b \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 Property accessors [Translate] \u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f class expression [Translate] delete function expression function* expression [Translate] in operator instanceof [Translate] new operator [Translate] super [Translate] this typeof void operator yield yield* [Translate] \u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0438 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0438 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f Legacy generator function [Translate] block [Translate] break class [Translate] const continue debugger [Translate] do...while [Translate] empty [Translate] export [Translate] for for each...in [Translate] for...in [Translate] for...of function [Translate] function* if...else [Translate] import label let return [Translate] switch throw try...catch [Translate] var [Translate] while [Translate] with [Translate] \u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u0424\u0443\u043d\u043a\u0446\u0438\u0438 Arguments object [Translate] \u0421\u0442\u0440\u0435\u043b\u043e\u0447\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e Method definitions [Translate] \u041e\u0441\u0442\u0430\u0432\u0448\u0438\u0435\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b getter [Translate] setter [Translate] Classes Classes constructor [Translate] extends [Translate] static \u0415\u0449\u0451 \u041b\u0435\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0433\u0440\u0430\u043c\u043c\u0430\u0442\u0438\u043a\u0430 \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 JavaScript Enumerability and ownership of properties Iteration protocols \u0421\u0442\u0440\u043e\u0433\u0438\u0439 \u0440\u0435\u0436\u0438\u043c \u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u0432 \u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u0440\u0435\u0436\u0438\u043c \u0428\u0430\u0431\u043b\u043e\u043d\u043d\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0423\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 New in JavaScript \u0427\u0442\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u0432 JavaScript \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 ECMAScript 5 \u0432 Mozilla \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 ECMAScript 6 \u0432 Mozilla \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 ECMAScript 7 \u0432 Mozilla 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] \u041d\u043e\u0432\u043e\u0435 \u0432 JavaScript 1.6 \u041d\u043e\u0432\u043e\u0435 \u0432 JavaScript 1.7 New in JavaScript 1.8 [Translate] New in JavaScript 1.8.1 [Translate] \u041d\u043e\u0432\u043e\u0435 \u0432 JavaScript 1.8.5 \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f: \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u043f\u0438\u0441\u043a\u0438 \u0418\u043d\u0434\u0435\u043a\u0441 \u0432\u0441\u0435\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u0418\u043d\u0434\u0435\u043a\u0441 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0418\u043d\u0434\u0435\u043a\u0441 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u00abJavaScript\u00bb \u0412\u043d\u0435\u0441\u0442\u0438 \u0441\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434 \u0421\u0442\u0430\u0442\u0443\u0441 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043f\u043e JavaScript \u041f\u0440\u043e\u0435\u043a\u0442 MDN"}, {"id": "Summary", "title": "Summary"}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Description", "title": "Description"}, {"id": "Methods", "title": "Methods"}, {"id": "Examples", "title": "Examples"}, {"id": "Iterating_over_properties_of_an_object", "title": "Iterating over properties of an object"}, {"id": "Iterating_over_properties_of_an_object_with_legacy_destructuring_for-in_statement", "title": "Iterating over properties of an object with legacy destructuring for-in statement"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "id": 116057, "review_tags": []}