From c46e71d35db9e020cb4a08f5b4326debca48c1ed Mon Sep 17 00:00:00 2001 From: Ivan Goldsmith Date: Tue, 28 Jul 2015 11:20:52 -0400 Subject: [PATCH] Fixed missing column in 2nd console.table example. --- secret/console-output-data-as-a-table.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secret/console-output-data-as-a-table.md b/secret/console-output-data-as-a-table.md index 681ee49..9e313bd 100644 --- a/secret/console-output-data-as-a-table.md +++ b/secret/console-output-data-as-a-table.md @@ -27,7 +27,7 @@ tags:

To give the table custom column names, property names must be assigned to the elements in the object. Likewise, custom values for the (index) column can be set by naming each set of properties.

-

There is an optional second argument which allows you to explicity specify which columns to output. console.table({"London":{population:8173194, country:"UK", elevation:"24m"},"New York":{population:8336697, country:"USA", elevation:"10m"}},["population", "country"]) will output the following.

+

There is an optional second argument which allows you to explicity specify which columns to output. console.table({"London":{population:8173194, country:"UK", elevation:"24m"},"New York":{population:8336697, country:"USA", elevation:"10m"}},["population", "country", "elevation"]) will output the following.