Pheeko
Active Member
Hey,
Can someone tell me why toString() helper function returns [object Object] instead of a string representation of an object?
Here's the code:
engine.log(ev.toString());
I also tried:
engine.log(toString(ev));
var helpers = require('helpers');
engine.log(helpers.toString());
However helpers.toString() returns empty string.
Thanks in advance.
Can someone tell me why toString() helper function returns [object Object] instead of a string representation of an object?
Here's the code:
engine.log(ev.toString());
I also tried:
engine.log(toString(ev));
var helpers = require('helpers');
engine.log(helpers.toString());
However helpers.toString() returns empty string.
Thanks in advance.