Published
Edited
Jul 4, 2021
1 star
Insert cell
Insert cell
Insert cell
m.multiply(10, 5)
Insert cell
m.square(5)
Insert cell
m.custom(4, 5)
Insert cell
Insert cell
m = {
const jsFuncs = { "main.add": (x, y) => x + y };
const wasmFuncs = ['multiply', 'square', 'custom'];
return buildWasmModule(
await FileAttachment("tinygo_demo.wasm"),
jsFuncs,
wasmFuncs
);
}
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more