WebAssembly.module.prototype
这是一项 实验技术
在使用此产品之前,请仔细检查浏览器兼容性表。
WebAssembly.Module.prototype属性表示构造函数的原型。WebAssembly.Module()
| WebAssembly.Module.prototype的属性特性 |
|:----|
| Writable | no |
| Enumerable | no |
| Configurable | no |
描述
所有WebAssembly.Module实例都继承自Module.prototype。WebAssembly.Module()构造函数的原型对象可以被修改以影响所有WebAssembly.Module实例。
属性
Module.prototype.constructor返回创建此对象实例的函数。默认情况下这是WebAssembly.Module()构造函数。Module.prototype[@@toStringTag]@@ toStringTag属性的初始值是字符串值“WebAssembly.Module”。
方法
None.
规范
Specification | Status | Comment |
|---|---|---|
Web Assembly JavaScript APIThe 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 | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
|---|---|---|---|---|---|---|---|
Basic Support | 57 | 57 | (Yes)1 | 522 | No | ? | 11 |
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

