WebAssembly.Table
The WebAssembly.Table()
object is a JavaScript wrapper object — an array-like structure
representing a WebAssembly Table, which stores function references. A table created by
JavaScript or in WebAssembly code will be accessible and mutable from both JavaScript
and WebAssembly.
class Table { }
constructor(descriptor: TableDescriptor);
readonly length: number;
get(index: number): Function | null;
grow(delta: number): number;
set(index: number, value: Function | null): void;
§Constructors
§
new Table(descriptor: TableDescriptor)
[src]Creates a new Table
object.
§Properties
§Methods
§
get(index: number): Function | null
[src]Accessor function — gets the element stored at a given index.