Last Updated: February 25, 2016
·
1.132K
· cayley

Better debugging with console.time and console.table

Just found out about a couple cool things you can do with the console in Webkit and Firefox:

console.table

Displays arrays of objects in the console as a table. Mind-blown.

Picture

console.time

Use console.time and console.endTime instead of manually managing storing times to easily track how long an operation takes.

Picture

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

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