<!DOCTYPE html>
<html>
<head>
<script>
fetch('wasm_test.gc.wasm')
.then(r => r.arrayBuffer())
.then(r => WebAssembly.instantiate(r))
.then(wasm_module => {
alert(`2 + 1 = ${wasm_module.instance.exports.add_one(2)}`);
alert(`18 = ${wasm_module.instance.exports.iterators()}`);
});
</script>
</head>
<body></body>
</html>