console.table()

Jason Kuffler
Aug 12, 2021

Here’s a quick note on something I picked up along the way to Phase-1 in Flatiron School. . . That is to say I can’t recall if it was in Phase0 or as Phase1 started.

For a given object: we can display it as a table in the corresponding console using

console.table() 

See this screen shot for a simple example:

What purpose would this serve us as Developeres?

Since I’m not entirely sure what this means for me as a budding developer/SE I am posing the question to anyone reading :) What could this possibly help with as a dev?

UPDATE 11/30/2021 —

I’ve enjoyed using the console.table() call to neatly display any data I’m ensuring is coming through on a fetch request or other transaction within a project.

--

--

Jason Kuffler

Creative. Researcher. Coder. Rad Dad. Sharing easy-to-follow progress covering my tech ed