davecgh / go-spew

Implements a deep pretty printer for Go data structures to aid in debugging

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gopher.js

pjebs opened this issue · comments

commented

I noticed that spew doesn't seem to work for gopher.js js objects:

eg.

(*main.TzTray)(<nil>)({
 tz: (float64) 0,
 showSeconds: (bool) true,
 tray: (*js.Object)(<nil>)(<already shown>),
 ticker: (*time.Ticker)(<nil>),
 eventEmitter: (*js.Object)(<nil>)(<already shown>)
})

I can see that eventEmitter is being showed as <nil> when I know it is not.