remove

fun remove(index: Int)(source)

Removes the item with index index from the collection.

MDN Reference