{"json_modified": "2016-05-09T02:44:22.519099", "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", "Array methods", "JavaScript"], "translations": [{"uuid": "7a27485b-34cc-43ed-88b9-657405c8d7d5", "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": "2016-05-02T15:34:45", "review_tags": ["technical"]}, {"uuid": "789b9bcd-54c1-4d64-95cb-2495801a5b33", "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": []}, {"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": "2015-12-24T05:50:00", "review_tags": []}, {"uuid": "c5599ad1-71c5-40a5-ab69-5f577c81388d", "title": "Array.prototype.reduce()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/reduce", "tags": ["ECMAScript5", "prototype", "polyfill", "R\u00e9f\u00e9rence", "Array", "Prototype", "JavaScript", "M\u00e9thode"], "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": "2016-05-03T03:43:28", "review_tags": []}, {"uuid": "eb29e798-5f8d-410d-a705-2dabd3415d7e", "title": "Array.prototype.reduce()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce", "tags": ["ECMAScript5", "prototype", "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-04-29T14:23:36", "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": "2015-07-26T19:19:50", "review_tags": []}, {"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": "7bd3cd41-2258-4ccf-a568-ecb53548e909", "title": "Array.prototype.reduce()", "url": "/ko/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce", "tags": ["ECMAScript5", "prototype", "Array", "Prototype", "JavaScript", "Method"], "summary": "reduce()
\u00a0\uba54\uc11c\ub4dc\ub294 \ucd95\uc555 \ud568\uc218\ub97c \ud1b5\ud574 \ubc30\uc5f4\uc758 \uac01 \uc694\uc18c(\uc67c\ucabd\uc5d0\uc11c \uc624\ub978\ucabd\uc73c\ub85c)\ub97c \ud558\ub098\uc758 \uac12\uc73c\ub85c \uc904\uc785\ub2c8\ub2e4.", "localization_tags": ["inprogress"], "locale": "ko", "last_edit": "2015-12-20T15:38:00", "review_tags": []}], "modified": "2016-05-09T02:44:21", "label": "Array.prototype.reduce()", "localization_tags": [], "locale": "ja", "id": 1049, "last_edit": "2015-04-12T11:34:47", "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", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Summary", "title": "\u6982\u8981"}, {"id": "Syntax", "title": "\u69cb\u6587"}, {"id": "Parameters", "title": "\u5f15\u6570"}, {"id": "Description", "title": "\u8a73\u7d30"}, {"id": "Compatibility", "title": "\u4e92\u63db\u6027"}, {"id": "Examples", "title": "\u4f8b"}, {"id": "Example.3A_Sum_up_all_values_within_an_array", "title": "\u4f8b: \u914d\u5217\u5185\u306e\u5024\u3092\u5168\u3066\u8db3\u3059"}, {"id": "Example.3A_Flatten_an_array_of_arrays", "title": "\u4f8b: \u4e8c\u6b21\u5143\u914d\u5217\u3092 \u4e00\u6b21\u5143\u914d\u5217\u306b\u3059\u308b"}, {"id": "Browser_compatibility", "title": "\u30d6\u30e9\u30a6\u30b6\u5b9f\u88c5\u72b6\u6cc1"}, {"id": "See_also", "title": "\u95a2\u9023\u60c5\u5831"}], "slug": "Web/JavaScript/Reference/Global_Objects/Array/reduce", "review_tags": []}