mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Pretty Print Tabular Data as a chrome til
This commit is contained in:
@@ -7,7 +7,7 @@ variety of languages and technologies. These are things that don't really
|
||||
warrant a full blog post. These are mostly things I learn by pairing with
|
||||
smart people at [Hashrocket](http://hashrocket.com/).
|
||||
|
||||
_366 TILs and counting..._
|
||||
_367 TILs and counting..._
|
||||
|
||||
---
|
||||
|
||||
@@ -33,6 +33,7 @@ _366 TILs and counting..._
|
||||
|
||||
### Chrome
|
||||
|
||||
- [Pretty Print Tabular Data](chrome/pretty-print-tabular-data.md)
|
||||
- [Reference The Selected Node](chrome/reference-the-selected-node.md)
|
||||
|
||||
### Clojure
|
||||
|
||||
9
chrome/pretty-print-tabular-data.md
Normal file
9
chrome/pretty-print-tabular-data.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# Pretty Print Tabular Data
|
||||
|
||||
Looking at a bunch of data in the Chrome dev tools console isn't great. It
|
||||
can be a bit difficult to read because of the way it is displayed.
|
||||
Fortunately, the Chrome dev tools comes with a handy way of displaying
|
||||
tabular data, `console.table()`. If you give `console.table` an array of
|
||||
objects or array of arrays, it will format it in a table like the following:
|
||||
|
||||

|
||||
Reference in New Issue
Block a user