Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

Ex:

(reduce max (array-chunk #js[0 1 2 3] 0 1)) ;; => 3

Currently not an issue since end is always arr.length for our usage of ArrayChunk, but since it's a public API users might pass a different end param.

This can easily be fixed after CLJS-2466 which properly implements the reduce for ArrayChunk.

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-2470 (reported by aralo)
...