Closed 200sc closed 5 years ago
Based on this: https://stackoverflow.com/questions/57154587/panic-syscall-js-value-call-property-makefuncwrapper-is-not-a-function-got
The server might have downloaded a newer wasm_exec.js than the one for 1.12
So yes, I replaced the locally downloaded wasm_exec.js with the one I found in my goroot and the examples started working.
Good catch. I narrowed it down to the changes made here: https://github.com/golang/go/commit/c468ad04177c422534ad1ed4547295935f84743d#diff-956ed5abd94e3f82adfe493f134403b5 Will investigate further what is causing the issue.
When I try to run wasm1, everything goes fine, but running 2 3 or 4 results in something like this in the console window.
I tested on Windows 10, on Firefox and Chrome.