> cp ../../wasm/go.wasm .
go.wasm: WASM file compiled by go.
> npm run start
- index.html: browser using WASM template, run!
- go_wasm_exec.js: core code WASM run browser.
cp $(go env GOROOT)/misc/wasm/wasm_exec.js go_wasm_exec.js
> node index.mjs
- index.mjs: Nodejs using WASM template
- go_wasm_exec_node.js: core code WASM run Nodejs.