Skip to content

Commit

Permalink
doc: update to align console.table row to the left
Browse files Browse the repository at this point in the history
PR-URL: #50553
Refs: #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]>
  • Loading branch information
Jungku Lee authored and UlisesGascon committed Dec 11, 2023
1 parent ff5713d commit 1b2dab8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions doc/api/console.md
Original file line number Diff line number Diff line change
Expand Up @@ -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' β”‚
// β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”˜
```

Expand Down

0 comments on commit 1b2dab8

Please sign in to comment.