{"json_modified": "2016-10-20T19:27:27.829788", "uuid": "7a27485b-34cc-43ed-88b9-657405c8d7d5", "title": "Array.prototype.reduce()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce", "tags": ["ECMAScript5", "Array", "Prototype", "Method", "JavaScript"], "translations": [{"uuid": "d0a995e7-5c9e-4480-9c4c-cd453b9f746a", "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": []}, {"uuid": "789b9bcd-54c1-4d64-95cb-2495801a5b33", "title": "Array.prototype.reduce()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/reduce", "tags": ["ECMAScript5", "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 array (de izquierda a derecha) para reducirlo a un \u00fanico valor.", "localization_tags": [], "locale": "es", "last_edit": "2016-06-08T08:05:28", "review_tags": []}, {"uuid": "c5599ad1-71c5-40a5-ab69-5f577c81388d", "title": "Array.prototype.reduce()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/reduce", "tags": ["ECMAScript5", "polyfill", "R\u00e9f\u00e9rence", "Array", "Prototype", "JavaScript", "M\u00e9thode"], "summary": "La valeur obtenue gr\u00e2ce \u00e0 la fonction de r\u00e9duction.", "localization_tags": [], "locale": "fr", "last_edit": "2016-10-12T11:09:21", "review_tags": []}, {"uuid": "3c72b63a-14d9-44e3-9e9a-3ef1ca533444", "title": "Array.prototype.reduce()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce", "tags": ["ECMAScript5", "Array", "JavaScript 1.8", "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": []}, {"uuid": "7bd3cd41-2258-4ccf-a568-ecb53548e909", "title": "Array.prototype.reduce()", "url": "/ko/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce", "tags": ["ECMAScript5", "Array", "Prototype", "JavaScript", "Method"], "summary": "reduce() \uba54\uc11c\ub4dc\ub294 \ub204\uc0b0\uae30(accumulator) \ubc0f \ubc30\uc5f4\uc758 \uac01 \uac12(\uc88c\uc5d0\uc11c \uc6b0\ub85c)\uc5d0 \ub300\ud574 (\ub204\uc0b0\ub41c) \ud55c \uac12\uc73c\ub85c \uc904\ub3c4\ub85d \ud568\uc218\ub97c \uc801\uc6a9\ud569\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2016-07-06T23:37:39", "review_tags": []}, {"uuid": "e881292f-b55a-47d3-ad3e-1567722dd977", "title": "Array.prototype.reduce()", "url": "/pl/docs/Web/JavaScript/Referencje/Obiekty/Array/Reduce", "tags": [], "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.", "localization_tags": ["inprogress"], "locale": "pl", "last_edit": "2015-12-16T14:57:36", "review_tags": []}, {"uuid": "86180ad4-2b62-4e7d-bdab-34385f552812", "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": "2016-08-30T17:20:37", "review_tags": []}, {"uuid": "eb29e798-5f8d-410d-a705-2dabd3415d7e", "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": "2016-10-12T08:45:54", "review_tags": []}, {"uuid": "0fe99fdb-c368-4792-b25e-792d81d7cf37", "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\u5408\u5e76\uff0c\u6700\u7ec8\u4e3a\u4e00\u4e2a\u503c\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-09-13T19:30:01", "review_tags": []}], "modified": "2016-10-12T05:32:54", "label": "Array.prototype.reduce()", "localization_tags": [], "locale": "en-US", "id": 2824, "last_edit": "2016-10-12T05:32:47", "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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Description", "title": "Description"}, {"id": "How_reduce_works", "title": "How reduce works"}, {"id": "Examples", "title": "Examples"}, {"id": "Sum_all_the_values_of_an_array", "title": "Sum all the values of an array"}, {"id": "Flatten_an_array_of_arrays", "title": "Flatten an array of arrays"}, {"id": "Example:_Flatten_an_array_of_arrays", "title": "Bonding arrays contained in the array of objects using spread operator and initialValue"}, {"id": "Polyfill", "title": "Polyfill"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/Array/Reduce", "review_tags": ["technical"]}