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.constructorWebAssembly.Instance() constructor.Instance.prototype.exports Read only
None.
| Specification | Status | Comment |
|---|---|---|
| Web Assembly JavaScript API The definition of 'WebAssembly.Module()' in that specification. | Draft | Initial draft definition. |
| Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
|---|---|---|---|---|---|---|
| Basic support | No support[1] | No support | No support[2] | No support | No support[1] | No support |
| Feature | Android | Android Webview | Edge | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile | Chrome for Android |
|---|---|---|---|---|---|---|---|---|
| Basic support | No support | No support[1] | No support | No support[2] | No support | No support | No support | No support[1] |
[1] Experimental support can be enabled in Chrome 51+ and Opera 38+ by going to chrome://flags and enabling the Experimental WebAssembly flag.
[2] Experimental support can be enabled in Firefox 47+ by enabling the javascript.options.wasm flag in about:config.
© 2005–2017 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