GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

12 results across 6 corpora for WebAssembly.Table.prototype.set().

Papers 6

Developer library 6

The MDN Content Kitchensink

ot { --first-color: #488cff; --second-color: #ffff8c; } #firstParagraph { background-color: var(--first-color); color: var(--second-color); } ``` ### WebAssembly ```wat (func (param i32) (param f32) (local f64) local.get 0 local.get 1 local.get 2) ``` ### Rust ```rust #[cfg(test)] mod tests { #[test] fn it_works() { assert_eq!(2 + 2, 4); } } ``` ### Python ```python class Book

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/MDN/Kitchensink

WebAssembly.Table

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. > [!NOTE] > Tables can currently only store function references, or host references, but this will likely be expanded in the future.

WebAssembly.Table.prototype.set()

The **`set()`** prototype method of the [`WebAssembly.Table`](/docs/WebAssembly/Reference/JavaScript_interface/Table) object mutates a reference stored at a given index to a different value. ## Syntax ```js-nolint set(index, value) ``` ### Parameters - `index` - : The index of the function reference you want to mutate. - `value` - : The value you want to mutate the reference to. This must be a value of the ta

WebAssembly.Tag

The **`WebAssembly.Tag`** object represents a WebAssembly exception _type_ that can be thrown in a Wasm module. ## Constructor - [`WebAssembly.Tag()`](/docs/WebAssembly/Reference/JavaScript_interface/Tag/Tag) - : Creates a new `WebAssembly.Tag` object instance. ## Instance methods - [`Tag.prototype.type()`](/docs/WebAssembly/Reference/JavaScript_interface/Tag/type) - : Returns the object defining the data-typ

Using the WebAssembly JavaScript API

This article teaches you how to use the key features of the WebAssembly JavaScript API, including loading Wasm modules and manipulating WebAssembly memories, tables, and globals. > [!NOTE] > If you are unfamiliar with the basic concepts mentioned in this article and need more explanation, read [WebAssembly concepts](/docs/WebAssembly/Guides/Concepts) first, then come back. ## Loading Wasm modules in JavaScript Let

Exported WebAssembly functions

Exported WebAssembly functions are how WebAssembly functions are represented in JavaScript. This article describes what they are in a little more detail. ## Exported… What? Exported WebAssembly functions are basically just JavaScript wrappers that represent WebAssembly functions in JavaScript. When you call them, you get some activity in the background to convert the arguments into types that Wasm can work with (fo

JSON results · Services directory