{"json_modified": "2015-12-16T14:57:42.677826", "slug": "Web/JavaScript/Referencje/Obiekty/Array/Reduce", "tags": [], "locale": "pl", "title": "Array.prototype.reduce()", "translations": [{"title": "Array.prototype.reduce()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce", "tags": ["ECMAScript5", "Array", "JavaScript 1.8", "Array methods", "JavaScript"], "summary": "\u96a3\u308a\u5408\u3046 2 \u3064\u306e\u914d\u5217\u8981\u7d20\u306b\u5bfe\u3057\u3066\uff08\u5de6\u304b\u3089\u53f3\u3078\uff09\u540c\u6642\u306b\u95a2\u6570\u3092\u9069\u7528\u3057\u3001\u5358\u4e00\u306e\u5024\u306b\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-12T11:34:47", "review_tags": []}, {"title": "Array.prototype.reduce()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce", "tags": ["ECMAScript5", "prototype", "Array", "Prototype", "JavaScript", "Method"], "summary": "The reduce() method applies a function against an accumulator and each value of the array (from left-to-right) to reduce it to a single value.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-11-16T14:14:02", "review_tags": []}, {"title": "Array.prototype.reduce()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/reduce", "tags": ["ECMAScript5", "prototype", "JavaScript 1.8", "Array", "Prototype", "JavaScript", "Method"], "summary": "El m\u00e9todo reduce()\u00a0aplica una funci\u00f3n a un acumulador y a cada valor de un vector\u00a0(de izquierda a derecha) para reducirlo a un \u00fanico valor.", "localization_tags": [], "locale": "es", "last_edit": "2015-12-08T20:30:19", "review_tags": []}, {"title": "Array.prototype.reduce()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce", "tags": ["\u65b9\u6cd5", "\u539f\u578b", "\u6570\u7ec4"], "summary": "reduce()\u00a0\u65b9\u6cd5\u63a5\u6536\u4e00\u4e2a\u51fd\u6570\u4f5c\u4e3a\u7d2f\u52a0\u5668\uff08accumulator\uff09\uff0c\u6570\u7ec4\u4e2d\u7684\u6bcf\u4e2a\u503c\uff08\u4ece\u5de6\u5230\u53f3\uff09\u5f00\u59cb\u7f29\u51cf\uff0c\u6700\u7ec8\u4e3a\u4e00\u4e2a\u503c\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-12-07T00:03:39", "review_tags": []}, {"title": "Array.prototype.reduce()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/reduce", "tags": ["ECMAScript5", "prototype", "polyfill", "Array", "Prototype", "JavaScript", "Method"], "summary": "reduce\u00a0ex\u00e9cute la fonction callback une fois pour chaque \u00e9l\u00e9ment pr\u00e9sent dans le tableau et ignore les \u00e9l\u00e9ments vides du tableau. La fonction callback utilise quatre arguments :", "localization_tags": [], "locale": "fr", "last_edit": "2015-11-17T03:39:07", "review_tags": []}, {"title": "Array.prototype.reduce()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce", "tags": ["ECMAScript5", "polyfill", "Reference", "JavaScript 1.8", "R\u00e9f\u00e9rence", "Array", "Prototype", "JavaScript", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 reduce() \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043a \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0443 \u0438 \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u043c\u0430\u0441\u0441\u0438\u0432\u0430 (\u0441\u043b\u0435\u0432\u0430-\u043d\u0430\u043f\u0440\u0430\u0432\u043e), \u0441\u0432\u043e\u0434\u044f \u0435\u0433\u043e \u043a \u043e\u0434\u043d\u043e\u043c\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e.", "localization_tags": [], "locale": "ru", "last_edit": "2015-01-26T22:26:12", "review_tags": []}, {"title": "Array.prototype.reduce()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce", "tags": [], "summary": "O m\u00e9todo reduce() aplica uma fun\u00e7\u00e3o sobre um acumulador e\u00a0cada valor do array (da esquerda para direita), deve\u00a0reduz\u00ed-lo a\u00a0um \u00fanico valor.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2015-07-26T19:19:50", "review_tags": []}, {"title": "Array.prototype.reduce()", "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/Array/Reduce", "tags": [], "summary": "El m\u00e8tode reduce() aplica una funci\u00f3 sobre un acumulador i cada valor de l'array (de esquerra a dreta) perr a reduir-lo a un sol valor.", "localization_tags": [], "locale": "ca", "last_edit": "2015-11-14T05:13:35", "review_tags": []}], "modified": "2015-12-16T14:57:40", "label": "Array.prototype.reduce()", "localization_tags": ["inprogress"], "url": "/pl/docs/Web/JavaScript/Referencje/Obiekty/Array/Reduce", "last_edit": "2015-12-16T14:57:36", "summary": "The reduce() method applies a function against an accumulator and each value of the array (from left-to-right) has to reduce it to a single value.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Summary", "title": "Podsumowanie"}, {"id": "Syntax", "title": "Sk\u0142adnia"}, {"id": "Parametry", "title": "Parametry"}, {"id": "Description", "title": "Opis"}, {"id": "Examples", "title": "Przyk\u0142ady"}, {"id": "Example:_Sum_up_all_values_within_an_array", "title": "Przyk\u0142ad: Zsumowanie wszystkich warto\u015bci w tablicy."}, {"id": "Example:_Flatten_an_array_of_arrays", "title": "Przyk\u0142ad: Sp\u0142aszczenie tablicy tablic"}, {"id": "Polyfill", "title": "Polyfill"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "Zobacz te\u017c"}], "id": 152821, "review_tags": []}