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.