This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The WebAssembly.Instance
.prototype
property represents the prototype for the WebAssembly.Instance()
constructor.
Property attributes of WebAssembly.Instance.prototype
| |
---|---|
Writable | no |
Enumerable | no |
Configurable | no |
All WebAssembly.Instance
instances inherit from Instance.prototype
. The prototype object of the WebAssembly.Instance()
constructor can be modified to affect all WebAssembly.Instance
instances.
Instance.prototype.constructor
WebAssembly.Instance()
constructor.Instance.prototype.exports
Read only
None.
Specification | Status | Comment |
---|---|---|
WebAssembly JavaScript API The definition of 'WebAssembly.Module()' in that specification. | Draft | Initial draft definition. |
Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic support | 57 | 16 | 522 | No | 44 | 11 |
Feature | Android webview | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
---|---|---|---|---|---|---|---|
Basic support | 57 | 57 | Yes1 | 522 | No | ? | 11 |
1. This feature is behind the Experimental JavaScript Features
preference.
2. Disabled in the Firefox 52 Extended Support Release (ESR).
WebAssembly.Instance()
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Instance/prototype