format for a stack-based virtual machine. Wasm is designed as a portable target for compilation of high-level languages like C/C++/Rust, enabling deployment on the web for client and server applications.
call Go code, we need to create a callback function func sayHello(i []js.Value) { shout := fmt.Sprintf("Hello, %s! ↩ Welcome to the GoWroc talk!", i[0]) js.Global().Get("console").Call("log", shout) }