mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 04:21:21 +00:00
Add an example of console.log
Also clean up some other exampels
This commit is contained in:
5
examples/console_log/index.js
Normal file
5
examples/console_log/index.js
Normal file
@ -0,0 +1,5 @@
|
||||
// For more comments about what's going on here, check out the `hello_world`
|
||||
// example
|
||||
const rust = import("./console_log");
|
||||
|
||||
rust.then(m => m.run());
|
Reference in New Issue
Block a user