set

fun set(index: Int, value: JsAny? = definedExternally)(source)

The set() prototype method of the WebAssembly.Table object mutates a reference stored at a given index to a different value.

MDN Reference