of

operator fun of(vararg items: JsUByte): Uint8Array<ArrayBuffer>(source)

MDN Reference