SongGuess
    Preparing search index...

    The WebAssembly.Table object is a JavaScript wrapper object — an array-like structure representing a WebAssembly table, which stores homogeneous references. A table created by JavaScript or in WebAssembly code will be accessible and mutable from both JavaScript and WebAssembly.

    MDN Reference

    interface Table {
        length: number;
        get(index: number): any;
        grow(delta: number, value?: any): number;
        set(index: number, value?: any): void;
    }
    Index

    Properties

    Methods

    Properties

    length: number

    The read-only length prototype property of the WebAssembly.Table object returns the length of the table, i.e., the number of elements in the table.

    MDN Reference

    Methods

    • The get() prototype method of the WebAssembly.Table() object retrieves the element stored at a given index.

      MDN Reference

      Parameters

      • index: number

      Returns any

    • The grow() prototype method of the WebAssembly.Table object increases the size of the Table instance by a specified number of elements, filled with the provided value.

      MDN Reference

      Parameters

      • delta: number
      • Optionalvalue: any

      Returns number

    • The set() prototype method of the WebAssembly.Table object mutates a reference stored at a given index to a different value.

      MDN Reference

      Parameters

      • index: number
      • Optionalvalue: any

      Returns void