MDN self-hosted library · e01.org

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.

js
const table = new WebAssembly.Table({
  element: "anyfunc",
  initial: 2,
  maximum: 10,
});
js
console.log(table.length); // 2
table.grow(1);
console.log(table.length); // 3