removeRange
Removes elements in range [fromIndex, toIndex] (inclusive on both ends). WARNING: Caller must adjust subsequent indices manually.
Parameters
fromIndex
start of range (inclusive)
toIndex
end of range (inclusive)
Throws
if indices are out of range or fromIndex >toIndex