This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The WebAssembly.Module
.prototype
property represents the prototype for the WebAssembly.Module()
constructor.
Property attributes of WebAssembly.Module.prototype |
|
---|---|
Writable | no |
Enumerable | no |
Configurable | no |
Description
All WebAssembly.Module
instances inherit from Module.prototype
. The prototype object of the WebAssembly.Module()
constructor can be modified to affect all WebAssembly.Module
instances.
Properties
Module.prototype.constructor
- Returns the function that created this object's instance. By default this is the
WebAssembly.Module()
constructor. Module.prototype[@@toStringTag]
- The initial value of the @@toStringTag property is the String value "WebAssembly.Module".
Methods
None.
Specifications
Specification | Status | Comment |
---|---|---|
WebAssembly JavaScript API The definition of 'WebAssembly.Module()' in that specification. |
Draft | Initial draft definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
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).
See also
Document Tags and Contributors
Tags:
Contributors to this page:
fscholz,
chrisdavidmills
Last updated by:
fscholz,