This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The WebAssembly.Memory.prototype property represents the prototype for the WebAssembly.Memory() constructor.
Property attributes of WebAssembly.Memory.prototype
| |
|---|---|
| Writable | no |
| Enumerable | no |
| Configurable | no |
All WebAssembly.Memory instances inherit from Memory.prototype. The prototype object of the WebAssembly.Memory() constructor can be modified to affect all WebAssembly.Memory instances.
Memory.prototype.constructorWebAssembly.Memory() constructor.Memory.prototype.bufferMemory.prototype.grow()| Specification | Status | Comment |
|---|---|---|
| WebAssembly JavaScript Interface The definition of 'Memory' in that specification. | Working Draft | Initial draft definition. |
| Desktop | ||||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
| Basic support | 57 | 16 | 52
|
No | 44 | 11 |
| Mobile | |||||||
|---|---|---|---|---|---|---|---|
| Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
| Basic support | 57 | 57 | Yes
|
52
|
? | 11 | 7.0 |
| Server | |
|---|---|
| Node.js | |
| Basic support | 8.0.0 |
WebAssembly.Memory()
© 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/Memory/prototype