javascript array reduce exemple code example
Example: reduce function javascript
array.reduce(function(acumulador, elementoAtual, indexAtual, arrayOriginal), valorInicial)
array.reduce(function(acumulador, elementoAtual, indexAtual, arrayOriginal), valorInicial)