newArray

fun newArray(vararg elements: Any?): JsArray

A fresh array holding elements.