There is what i believe to be a debug console.log inside the writeSync https://github.com/golang/go/blob/77f911e31c243a8302c086d64dbef340b0c999b8/lib/wasm/wasm_exec.js#L22

Comment From: gopherbot

Change https://go.dev/cl/696735 mentions this issue: lib/wasm: remove a stray console.log

Comment From: Darckfast

on further investigation, it appears that this line is responsible for printing out the buffer that fmt.Print is writing to while running in the browser

by commenting it out, no buffer is printed in the console

i will close this issue, as it is not a bug