-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
builtinsThe issues requires changing the JS builtin implementationsThe issues requires changing the JS builtin implementations
Milestone
Description
The current console log usually prints [Object object]
for most common objects.
Compare this with node / chrome:
> console.log({"lol": "lol", x: () => { console.log("hello");}})
{ lol: 'lol', x: [Function: x] }
Or firefox (and similarly componetize-js also has nice output)
And similarly componentize-js
One can workaround this by using JSON.stringify, but that does not handle recursion nicely, and also does not support e.g. Functions and Symbols.
Given any current JS ecosystem provides smarter console formats, users will expect that here too, and should not rely on creating custom workarounds.
Metadata
Metadata
Assignees
Labels
builtinsThe issues requires changing the JS builtin implementationsThe issues requires changing the JS builtin implementations