const table = new WebAssembly.Table({
element: "anyfunc",
initial: 2,
maximum: 10,
});WebAssembly.Table.prototype.length / notebook
WebAssembly.Table.prototype.length
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
console.log(table.length); // 2
table.grow(1);
console.log(table.length); // 3