Skip to content

Commit

Permalink
Removed the missleading [,...] (#3128)
Browse files Browse the repository at this point in the history
* Removed the missleading [,...] syntax, wrote it here just with two parameters because in the paragraph it is explicit saying column is optional), Fixes #3126

* Make data optional

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
  • Loading branch information
CreaTorAlexander and hamishwillee authored Mar 14, 2021
1 parent 4a88e22 commit 16d19ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion files/en-us/web/api/console/table/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ <h3 id="Sorting_columns">Sorting columns</h3>

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js">console.table(data [, <em>columns</em>]);
<pre class="brush: js">console.table(data);
console.table(data, columns);
</pre>

<h3 id="Parameters">Parameters</h3>
Expand Down

0 comments on commit 16d19ea

Please sign in to comment.