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.