16const wasmBuffer = fs.readFileSync(wasmfile);
17
18▶async function main() {
19
20 let memory = new ArrayBuffer(0) // will be changed after instantiate
· · ·
57}
58
59▶function assert_equal(captured_output, expected_output) {
60 if (captured_output.length != expected_output.length) {
61 console.error("Unexpected number of output lines. Got", captured_output.length, "but expected", expected_output.length);
· · ·
73}
74
75▶await main();