const result = wasmInstance.exports.myFunc(42n);
console.log(result); // also a BigInti64: Wasm value type / notebook
i64: Wasm value type
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.