of

operator fun <T : JsAny?> of(vararg values: T): JsArray<T>(source)

MDN Reference