Also, does items[i + 1] index off the end of the array? does js have an equivalent to rust's "windows", where you get an iterator over like like (0, 1), (1, 2), ... (N-2, N-1), (N-1, N)?
Also is this just iterator invalidation issues?
1 1Samuel
@samuel.fm
And no, we don’t, that sounds helpful :)
1