bare_naive.js (218B)
1 const fs = require('fs'); 2 3 const imports = {} 4 5 async function init() { 6 const code = fs.readFileSync('./bare.wasm'); 7 const m = new WebAssembly.Module(code); 8 const i = new WebAssembly.Instance(m, imports); 9 } 10 init();