console.table
Support for the console.table command has landed
A new change in Chrome Canary adds support for the console.table command which you may have seen in Firebug previously.
Example
console.table([{name:'Gaurav', email: 'name@email.com'}, {name:'Max', email: 'name@email.net'}])Written by Gaurav Jassal
Related protips
4 Responses
Like it. You're missing the closing single quotes in your example, after 'name@email.com
console.table([{name:'Gaurav', email: 'name@email.com'}, {name:'Max', email: 'name@email.net'}])
For anybody who wants the correct copy ^
@martinczerwi Thanks Fixed
that's handy. I used to struggle monitoring my returned json data in the console but this makes it a lot easier! thanks
Have a fresh tip? Share with Coderwall community!
JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.
Security insights from Cside