1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-05 16:18:01 +00:00

Merge pull request #35 from Oxicode/patch-1

Update pretty-print-tabular-data.md
This commit is contained in:
Josh Branchaud
2017-02-24 16:28:25 -06:00
committed by GitHub

View File

@@ -7,3 +7,7 @@ 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 so: objects or array of arrays, it will format it in a table like so:
![](http://i.imgur.com/LPgBpRB.png) ![](http://i.imgur.com/LPgBpRB.png)
```js
console.table([{one: 1, two: 2, three: 3}])
```