WebAssembly table instructions
This set of pages details the table instructions available in Wasm to create and manipulate tables.
This set of pages details the table instructions available in Wasm to create and manipulate tables.
[!NOTE] Equivalent functionality is available to JavaScript via the
WebAssembly.TableAPI.
table.copy- : Copies references from one
tablelocation to another. table.fill- : Sets a range of table elements to the same value.
table.get- : Retrieves the reference stored at a particular table index.
table.grow- : Increases the size of the table by a specified number of elements.
table.init- : Manually copies the references from a passive
elemdefinition into atable. table.set- : Changes the value stored in a particular table element.
table.size- : Returns the current size of the table.