wasm example clone registry git clone https://github.com/xindoucha/wasm-learn.git start server npx http-server ./ --cors * open index.html in your browser http://localhost:8080/index.html check result It will print "42" in the console.