A WebAssembly.Module()
constructor creates a new Module object containing stateless WebAssembly code that has already been compiled by the browser and can be efficiently shared with Workers, and instantiated multiple times.
The WebAssembly.Module()
constructor function can be called to synchronously compile given WebAssembly binary code. However, the primary way to get a Module
is through an asynchronous compilation function like WebAssembly.compile()
.