Skip to content

Commit 7ec6f7d

Browse files
Jungku Leeanonrig
authored andcommitted
doc: update to align console.table row to the left
PR-URL: nodejs#50553 Refs: nodejs#50135 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: Deokjin Kim <[email protected]>
1 parent 35caf44 commit 7ec6f7d

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)