Skip to content

Commit 219bee6

Browse files
authored
Update 1-js/05-data-types/05-array-methods/article.md
1 parent 1dde270 commit 219bee6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

1-js/05-data-types/05-array-methods/article.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,7 @@ let value = arr.reduce(function(accumulator, item, index, array) {
583583
// ...
584584
}, [initial]);
585585
```
586+
586587
A função é aplicada a todos os elementos do array um após o outro e "repassa" seu resultado para a próxima chamada.
587588

588589
- Arguments:

0 commit comments

Comments
 (0)