set
For Common, JVM
Sets the element at the given index to the given value. This method can be called using the index operator.
If the index is out of bounds of this array, throws an IndexOutOfBoundsException except in Kotlin/JS where the behavior is unspecified.
For JS
Sets the element at the given index to the given value. This method can be called using the index operator.
For Native
Sets the element at the given index to the given value. This method can be called using the index operator.
If the index is out of bounds of this array, throws an IndexOutOfBoundsException.