From 1b2dab8254b4800ee075a4011459cda6f7a475c7 Mon Sep 17 00:00:00 2001 From: Jungku Lee Date: Tue, 7 Nov 2023 01:47:53 +0900 Subject: [PATCH] doc: update to align `console.table` row to the left MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/50553 Refs: https://github.com/nodejs/node/pull/50135 Reviewed-By: Yagiz Nizipli Reviewed-By: Luigi Pinca Reviewed-By: Vinícius Lourenço Claro Cardoso Reviewed-By: Deokjin Kim --- doc/api/console.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/api/console.md b/doc/api/console.md index 1818d6f776b9f5..c9812f055974dc 100644 --- a/doc/api/console.md +++ b/doc/api/console.md @@ -420,18 +420,18 @@ console.table(undefined); console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }]); // ┌─────────┬─────┬─────┐ -// │ (index) │ a │ b │ +// │ (index) │ a │ b │ // ├─────────┼─────┼─────┤ -// │ 0 │ 1 │ 'Y' │ -// │ 1 │ 'Z' │ 2 │ +// │ 0 │ 1 │ 'Y' │ +// │ 1 │ 'Z' │ 2 │ // └─────────┴─────┴─────┘ console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }], ['a']); // ┌─────────┬─────┐ -// │ (index) │ a │ +// │ (index) │ a │ // ├─────────┼─────┤ -// │ 0 │ 1 │ -// │ 1 │ 'Z' │ +// │ 0 │ 1 │ +// │ 1 │ 'Z' │ // └─────────┴─────┘ ```