toList

fun <T : JsAny?> JsArray<T>.toList(): List<T>(source)

Returns a new List containing all the elements of this JsArray.

Since Kotlin

1.8