y.log with object.toString()
I'm not sure if this is normal for your javascript backend, but the toString() on an object just prints
[object Object]
which makes debugging quite hard. y.log(object) will give nothing useful. Having it print the json form
{"a":"b", "c":"d"}
would be much nicer (like with firebug)
by
3 Replies