Last Updated: February 25, 2016
·
653
· 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