1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-04-02 02:11:06 +00:00

5 lines
167 B
JavaScript
Raw Normal View History

// For more comments about what's going on here, check out the `hello_world`
// example
const rust = import("./add");
rust.then(m => alert('1 + 2 = ' + m.add(1, 2)));