Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 583 Bytes

File metadata and controls

47 lines (31 loc) · 583 Bytes

This very simple example shows usage of WebAssembly.

WebAssembly modules can be imported like other modules. Their download and compilation happens in parallel to the download and evaluation of the javascript chunk.

example.js

{{example.js}}

math.js

{{math.js}}

dist/output.js

{{dist/output.js}}

dist/0.output.js

{{dist/0.output.js}}

dist/1.output.js

{{dist/1.output.js}}

Info

Unoptimized

{{stdout}}

Production mode

{{production:stdout}}