summaryrefslogtreecommitdiff
path: root/doc/api/console.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-04-26 16:35:48 -0700
committerRich Trott <rtrott@gmail.com>2018-04-26 19:56:05 -0700
commit9c8395679cb211c99d47246c1c37ae7c4ae40396 (patch)
tree5bad2983e8284a42fa60da59078fb9c6dc398f1f /doc/api/console.md
parent169756b15dc8f6c2974a8ef3f095c055dcd47159 (diff)
downloadandroid-node-v8-9c8395679cb211c99d47246c1c37ae7c4ae40396.tar.gz
android-node-v8-9c8395679cb211c99d47246c1c37ae7c4ae40396.tar.bz2
android-node-v8-9c8395679cb211c99d47246c1c37ae7c4ae40396.zip
doc: remove console.table() as inspector-dependent
`console.table()` is implemented in Node.js core and no longer requires the inspector for use. PR-URL: https://github.com/nodejs/node/pull/20346 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me>
Diffstat (limited to 'doc/api/console.md')
-rw-r--r--doc/api/console.md15
1 files changed, 0 insertions, 15 deletions
diff --git a/doc/api/console.md b/doc/api/console.md
index 825ca28e28..d310a18fcb 100644
--- a/doc/api/console.md
+++ b/doc/api/console.md
@@ -364,9 +364,7 @@ console.table(Symbol());
console.table(undefined);
// undefined
-```
-```js
console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }]);
// ┌─────────┬─────┬─────┐
// │ (index) │ a │ b │
@@ -374,9 +372,7 @@ console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }]);
// │ 0 │ 1 │ 'Y' │
// │ 1 │ 'Z' │ 2 │
// └─────────┴─────┴─────┘
-```
-```js
console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }], ['a']);
// ┌─────────┬─────┐
// │ (index) │ a │
@@ -495,17 +491,6 @@ current JavaScript CPU profiling session if one has been started and prints
the report to the **Profiles** panel of the inspector. See
[`console.profile()`][] for an example.
-### console.table(array[, columns])
-<!-- YAML
-added: v8.0.0
--->
-* `array` {Array|Object}
-* `columns` {string[]} Display only selected properties of objects in the
- `array`.
-
-This method does not display anything unless used in the inspector. Prints to
-`stdout` the array `array` formatted as a table.
-
### console.timeStamp([label])
<!-- YAML
added: v8.0.0