E576 doc: update to align `console.table` row to the left · nodejs/node@1668798 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1668798

Browse files
Jungku Leetargos
authored andcommitted
doc: update to align console.table row to the left
PR-URL: #50553 Refs: #50135 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
1 parent 78b3432 commit 1668798

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/api/console.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -420,18 +420,18 @@ console.table(undefined);
420420

421421
console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }]);
422422
// ┌─────────┬─────┬─────┐
423-
// │ (index) │ a │ b
423+
// │ (index) │ a │ b
424424
// ├─────────┼─────┼─────┤
425-
//0 1 │ 'Y' │
426-
//1 │ 'Z' │ 2
425+
//01 │ 'Y' │
426+
//1 │ 'Z' │ 2
427427
// └─────────┴─────┴─────┘
428428

429429
console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }], ['a']);
430430
// ┌─────────┬─────┐
431-
// │ (index) │ a
431+
// │ (index) │ a
432432
// ├─────────┼─────┤
433-
//0 1
434-
//1 │ 'Z' │
433+
//01
434+
//1 │ 'Z' │
435435
// └─────────┴─────┘
436436
```
437437

0 commit comments

Comments
 (0)
0