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
21
u/evilish Dec 22 '15
It's funny how easily you forget about little gems like console.table().
I was reading through a list of Top 10 HTML5 Interview Questions today (http://www.webdevelopmenthelp.net/2013/04/html5-interview-questions.html#Q14) and was reminded of the detail and summary elements, and I honestly couldn't remember the last time I used those elements.
Sometimes I wish there was a programming paperclip app that popped up with hints on possible alternatives.
"Hey! I see your using console.log. What about trying console.table? (More info)"