WebAssembly.Instance
.prototype
プロパティは WebAssembly.Instance()
コンストラクタのプロトタイプを表します。
WebAssembly.Instance.prototype のプロパティ属性 |
|
---|---|
書込可能 | 不可 |
列挙可能 | 不可 |
設定可能 | 不可 |
説明
全ての WebAssembly.Instance
インスタンスは Instance.prototype
を継承します。WebAssembly.Instance()
コンストラクタのプロトタイプオブジェクトは全ての WebAssembly.Instance
インスタンスに影響するように変更可能です。
プロパティ
Instance.prototype.constructor
- このオブジェクトのインスタンスを生成した関数を返します。デフォルトでは
WebAssembly.Instance()
コンストラクタです。 Instance.prototype.exports
読取専用- WebAssembly モジュールインスタンスからエクスポートされた全ての関数をメンバとして持つオブジェクトを返します。これらは、JavaScriptからアクセスして使用することができます。
メソッド
なし。
仕様
仕様 | 策定状況 | コメント |
---|---|---|
WebAssembly JavaScript Interface WebAssembly.Module() の定義 |
草案 | 初回ドラフト定義 |
ブラウザ実装状況
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.
No compatibility data found. Please contribute data for "javascript.builtins.WebAssembly.Instance.prototype" (depth: 1) to the MDN compatibility data repository.