Open
Description
// +build js
package main
import "github.com/gopherjs/gopherjs/js"
func log(i ...interface{}) {
js.Global.Get("console").Call("log", i...)
}
func main() {
print("print message")
log(" log message")
}
gopherjs run main.go
I get no output on Windows 7, 64 bit / Node 4.2.1 + sourcemap lib.
This is a pity, since it is very useful for quick and dirty prototyping.
It used to work without problems.
Metadata
Metadata
Assignees
Labels
No labels