toArray

Since Kotlin

2.2

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

Since Kotlin

1.8