We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whenever I log an object all I get is
[object Object]
I fixed this myself by adding this code on line 30
for (var i = arguments.length - 1; i >= 0; i--) { if(typeof arguments[i] == 'object' && !Array.isArray(arguments[i])) arguments[i] = JSON.stringify(arguments[i]).replace(/"/g, "").replace(/,/g, ', ').replace(/:/g, ': '); };
This is obviously not the best way to fix this issue, but the use of JSON.stringify might save you some headaches.
This happens in chrome(46.0.2490).
The text was updated successfully, but these errors were encountered:
Yes, its on the list. But for now, as mentioned in the example also, you can simple use JSON.stringify.
JSON.stringify
eg. console.log(JSON.stringify(obj))
console.log(JSON.stringify(obj))
Sorry, something went wrong.
@chinchang Aah, my apologies, I think I read over that part :)
We can't use JSON.stringify to convert circular structures.
JSON.stringify(window)
chinchang
No branches or pull requests
Whenever I log an object all I get is
I fixed this myself by adding this code on line 30
This is obviously not the best way to fix this issue, but the use of JSON.stringify might save you some headaches.
This happens in chrome(46.0.2490).
The text was updated successfully, but these errors were encountered: