removeAt

JVM
JS
1.0
abstract fun removeAt(index: Int): E
(JVM source) (JS source)
For JVM

Removes an element at the specified index from the list.

This method is redeclared as abstract, because it's not implemented in the base class, so it must be always overridden in the concrete mutable collection implementation.

Return the element that has been removed.

For JS

Removes an element at the specified index from the list.

Return the element that has been removed.