| [ Web Proxy ] |
| Viewing: https://developer.mozilla.org/ko/docs/WebAssembly/Reference/JavaScript_interface | [Back] [Original] |
Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. Its been available across browsers since 2017 10.
* Some parts of this feature may have varying levels of support.
WebAssembly JavaScript WebAssembly .
WebAssembly :
WebAssembly.instantiate() .WebAssembly.Memory()/WebAssembly.Table() .WebAssembly.CompileError()/WebAssembly.LinkError()/WebAssembly.RuntimeError() .WebAssembly.instantiate()WebAssembly Module Instance API.
WebAssembly.instantiateStreaming() WebAssembly Module Instance .
WebAssembly.compile()WebAssembly WebAssembly.Module .
WebAssembly.compileStreaming()WebAssembly.validate() WebAssembly (true) (false) WebAssembly .
WebAssembly.Global()Creates a new WebAssembly Global object.
WebAssembly.Module()Creates a new WebAssembly Module object.
WebAssembly.Instance()Creates a new WebAssembly Instance object.
WebAssembly.Memory()Creates a new WebAssembly Memory object.
WebAssembly.Table()Creates a new WebAssembly Table object.
WebAssembly.CompileError()Creates a new WebAssembly CompileError object.
WebAssembly.LinkError()Creates a new WebAssembly LinkError object.
WebAssembly.RuntimeError()Creates a new WebAssembly RuntimeError object.
(GitHub instantiate-streaming.html ) .wasm . ResultObject . instantiateStreaming() Response promise fetch() .
var importObject = { imports: { imported_func: (arg) => console.log(arg) } };
WebAssembly.instantiateStreaming(fetch("simple.wasm"), importObject).then(
(obj) => obj.instance.exports.exported_func(),
);
ResultObject exported_func .
| Specification |
|---|
| WebAssembly JavaScript Interface # webassembly-namespace |
This page was last modified on 2026 7 15 by MDN contributors.
Your blueprint for a better internet.
Portions of this content are 19982026 by individual mozilla.org contributors. Content available under a Creative Commons license.
| Web Proxy Viewer | New URL | Original Page |