innards7
Question about store `range` update API
Yes, that's exactly right.
[3, 7]
updates 3, 4, 5, 6, and 7, whereas something like .slice
would take 3, 4, 5, and 6.
As a concrete example of what that means, if you update { from: x, to: array.length }
you get TypeError: Cannot read properties of undefined
since it goes one past the final index of the array.9 replies