Chrome Console Table

> 
users 
age: 22} 
{name: "Jon", 
{name: "bitfish", age: 30} 
{name: "Alice", age: 33} 
length: 
3 
: Array(Ø) 
proto 
Such an array is not easy to view in the console. If the array is longer 
and the elements are more complex, then it becomes even harder to 
understand. 
Fortunately, Chrome provides a table function that tabulates an 
array of objects. 
"bit fish" 
"Alice" 
Array(3)

Text in image:> users age: 22} {name: "Jon", {name: "bitfish", age: 30} {name: "Alice", age: 33} length: 3 : Array(Ø) proto Such an array is not easy to view in the console. If the array is longer and the elements are more complex, then it becomes even harder to understand. Fortunately, Chrome provides a table function that tabulates an array of objects. "bit fish" "Alice" Array(3)

Seems like table() is a shortcut for console.table()

 

Chrome-console-dollarunderscore


All Articles