[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ja/docs/WebAssembly/Reference/JavaScript_interface/Table/grow [Back]  [Original]

WebAssembly.Table.prototype.grow() - WebAssembly | MDN

MDN Web Docs

View in English Always switch to English

WebAssembly.Table.prototype.grow()

Baseline

201710

grow() WebAssembly.Table Table

js
grow(number);

number

grow() RangeError

grow

WebAssembly Table 2 10

js
var table = new WebAssembly.Table({
  element: "anyfunc",
  initial: 2,
  maximum: 10,
});

1

js
console.log(table.length); // "2"
console.log(table.grow(1)); // "2"
console.log(table.length); // "3"

WebAssembly JavaScript Interface
# dom-table-grow


Web Proxy Viewer  |  New URL  |  Original Page