kotlin-stdlib / kotlin.collections / ArrayList / removeRange removeRange JS 1.1 protected open fun removeRange ( fromIndex : Int , toIndex : Int ) (source) Overrides AbstractMutableList.removeRange Removes the range of elements from this list starting from fromIndex and ending with but not including toIndex .