sdras/array-explorer

reduceRight wrong example?

Offen

#78 geöffnet am 03.09.2018

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (236 Forks)github user discovery
good first issueopen to PR

Repository-Metriken

Stars
 (2.609 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Hello, I'm not sure, but in find items -> one item:

reduce returns sum of the array, as I'd expect, while reduceRight 'flatten' arrays. Shouldn't it be also sum?

Contributor Guide