WebAssembly
The WebAssembly.instantiate()
and WebAssembly.instantiateStreaming()
global static methods load WebAssembly code (also known as Wasm), a portable binary instruction format.
To learn more, see
WebAssembly,
WebAssembly.CompileError,
WebAssembly.CompileError() constructor,
WebAssembly.Global,
WebAssembly.Global() constructor,
WebAssembly.Instance,
WebAssembly.Instance() constructor,
WebAssembly.Instance.prototype.exports,
WebAssembly.LinkError,
WebAssembly.LinkError() constructor,
WebAssembly.Memory() constructor,
WebAssembly.Memory.prototype.buffer,
WebAssembly.Memory.prototype.grow(),
WebAssembly.Module,
WebAssembly.Module() constructor,
WebAssembly.Module.customSections(),
WebAssembly.Module.exports(),
WebAssembly.Module.imports(),
WebAssembly.RuntimeError,
WebAssembly.RuntimeError() constructor,
WebAssembly.Table,
WebAssembly.Table() constructor,
WebAssembly.Table.prototype.get(),
WebAssembly.Table.prototype.grow(),
WebAssembly.Table.prototype.length,
WebAssembly.Table.prototype.set(),
WebAssembly.compileStreaming(),
WebAssembly.compile(),
WebAssembly.instantiateStreaming(),
WebAssembly.instantiate(),
WebAssembly.validate() at MDN.
Compatibility (view on caniuse.com)
- Chrome 57 Released on 2017-03-09
- Chrome Android 57 Released on 2017-03-16
- Edge 16 Released on 2017-10-17
- Firefox 52 Released on 2017-03-07
- Firefox for Android 52 Released on 2017-03-07
- Safari 11 Released on 2017-09-19
- Safari on iOS 11 Released on 2017-09-19