GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

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

18 results across 6 corpora for WebAssembly JavaScript builtins.

Papers 6

Wikidata 6

Developer library 6

WebAssembly.Module() constructor

A **`WebAssembly.Module()`** constructor creates a new Module object containing stateless WebAssembly code that has already been compiled by the browser and can be efficiently [shared with Workers](/docs/Web/API/Worker/postMessage), and instantiated multiple times. The `WebAssembly.Module()` constructor function can be called to synchronously compile given WebAssembly binary code. However, the primary way to get a `

WebAssembly.compileStreaming()

The **`WebAssembly.compileStreaming()`** static method compiles a [`WebAssembly.Module`](/docs/WebAssembly/Reference/JavaScript_interface/Module) directly from a streamed underlying source. This function is useful if it is necessary to compile a module before it can be instantiated (otherwise, the [`WebAssembly.instantiateStreaming()`](/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) func

WebAssembly.validate()

The **`WebAssembly.validate()`** static method validates a given [typed array](/docs/Web/JavaScript/Guide/Typed_arrays) of WebAssembly binary code, returning whether the bytes form a valid Wasm module (`true`) or not (`false`). ## Syntax ```js-nolint WebAssembly.validate(bufferSource) WebAssembly.validate(bufferSource, compileOptions) ``` ### Parameters - `bufferSource` - : A [typed array](/docs/Web/JavaScript/

WebAssembly.compile()

The **`WebAssembly.compile()`** static method compiles WebAssembly binary code into a [`WebAssembly.Module`](/docs/WebAssembly/Reference/JavaScript_interface/Module) object. This function is useful if it is necessary to compile a module before it can be instantiated (otherwise, the [`WebAssembly.instantiate()`](/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) function should be used). > [!NOTE] >

WebAssembly.instantiate()

The **`WebAssembly.instantiate()`** static method allows you to compile and instantiate WebAssembly code. This function has two overloads: - The primary overload takes the WebAssembly binary code, in the form of a [typed array](/docs/Web/JavaScript/Guide/Typed_arrays) or ArrayBuffer, and performs both compilation and instantiation in one step. The returned `Promise` resolves to both a compiled [`WebAssembly.Mo

WebAssembly.instantiateStreaming()

The **`WebAssembly.instantiateStreaming()`** static method compiles and instantiates a WebAssembly module directly from a streamed underlying source. This is the most efficient, optimized way to load Wasm code. > [!NOTE] > Webpages that have strict [Content Security Policy (CSP)](/docs/Web/HTTP/Guides/CSP) might block WebAssembly from compiling and executing modules. > For more information on allowing WebAssembly co

JSON results · Services directory