Closed
Description
At Go tip, js/wasm programs inside a browser run into a panic during init of syscall package:
panic: syscall/js: call of Value.Int on undefined
goroutine 1 [running]:
syscall/js.Value.float({{}, 0x0, 0x0}, {0x1f10b5, 0x9})
syscall/js/js.go:523 +0x10
syscall/js.Value.Int(...)
syscall/js/js.go:540
syscall.init()
syscall/fs_js.go:32 +0x37
I see the problem and sent CL 634455 to fix it.
CC @golang/js.