newArray

abstract fun newArray(vararg elements: Any?): JsArray(source)

A fresh array holding elements.