Skip to content

Commit 1b2dab8

Browse files
Jungku LeeUlisesGascon
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 ff5713d commit 1b2dab8

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎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+
// │ 0 │ 1 │ '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+
// │ 0 │ 1 │
434+
// │ 1 │ 'Z' │
435435
// └─────────┴─────┘
436436
```
437437

0 commit comments

Comments
 (0)