Tour of WebAssembly Table of Contents

Loading A Module

Since a WebAssembly module is just a file of bytes. We first need to load those bytes in our browser.

let file = await fetch('my_file.wasm');
let bytes = await file.arrayBuffer();
Mascot Ferris