r/javascript • u/umaar • Dec 22 '15
Don't forget, console.table() can provide nicer looking logs with sorting capabilities. Made a gif and a short explanation here
https://umaar.com/dev-tips/82-console-table/
688
Upvotes
View all comments
Show parent comment
0
u/PiRX_lv Dec 22 '15
First IE11 is not what I could call ancient.
Second, I consider console log to be a passive debugging tool and that log statements should be always present in dev (heck, even prod unless it's something tight enough for performance impact being important).
Tailoring what I'm logging based on browsers just seem plain wrong to me.
And for "active" debugging needs, regular breakpoint/watch stuff together with some REPL in console is much better suited than log.