MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/d6d7ff2e2f9c

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

Description

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.

Properties

Instance.prototype.constructor
Returns the function that created this object's instance. By default this is the WebAssembly.Instance() constructor.
Instance.prototype.exports Read only
Returns an object containing as its members all the functions exported from the WebAssembly module instance, to allow them to be accessed and used by JavaScript.

Methods

None.

Specifications

Specification Status Comment
Web Assembly JavaScript API
The definition of 'WebAssembly.Module()' in that specification.
Draft Initial draft definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic Support5716522 No4411
FeatureAndroidChrome for AndroidEdge mobileFirefox for AndroidIE mobileOpera AndroidiOS Safari
Basic Support5757 (Yes)1522 No ?11

1. , this feature is behind the Experimental JavaScript Features preference.

2. Disabled in the Firefox 52 Extended Support Release (ESR).

See also

Document Tags and Contributors

 Contributors to this page: fscholz, chrisdavidmills
 Last updated by: fscholz,