From 7b60f60f7fe6399eb5f887a27e22e5b59a5f1e5a Mon Sep 17 00:00:00 2001 From: Oxicode Date: Wed, 1 Feb 2017 17:15:21 -0500 Subject: [PATCH] Update pretty-print-tabular-data.md --- chrome/pretty-print-tabular-data.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/pretty-print-tabular-data.md b/chrome/pretty-print-tabular-data.md index a3e382f..b476bd7 100644 --- a/chrome/pretty-print-tabular-data.md +++ b/chrome/pretty-print-tabular-data.md @@ -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: ![](http://i.imgur.com/LPgBpRB.png) + +```js +console.table([{one: 1, two: 2, three: 3}]) +```