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 <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>
  • Loading branch information
pluris 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
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.