toArray

fun <T : JsAny?> JsArray<T>.toArray(): Array<T>(source)

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

Since Kotlin

1.8