Ad
  • Custom User Avatar

    I can see why that would be a concern, however if you look at both left and right, they are shortened with slice. Since left + right = arr, then left.reduce + right.reduce = arr.reduce, at least as far as the total length and amount of items reduced.