- v10.0.0:
- Microsoft Windows [Version 10.0.17133.73] 64-bit:
- console:
Repl demo using sample from docs:
> console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }]);
βββββββββββ¬βββββββββββββββββββ
β (index) β Values β
βββββββββββΌβββββββββββββββββββ€
β 0 β { a: 1, b: 'Y' } β
β 1 β { a: 'Z', b: 2 } β
βββββββββββ΄βββββββββββββββββββ
Expected a three column table with headings ['(index)', 'a', 'b'], per docs:
console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }]);
// βββββββββββ¬ββββββ¬ββββββ
// β (index) β a β b β
// βββββββββββΌββββββΌββββββ€
// β 0 β 1 β 'Y' β
// β 1 β 'Z' β 2 β
// βββββββββββ΄ββββββ΄ββββββ
Repl demo using sample from docs:
Expected a three column table with headings ['(index)', 'a', 'b'], per docs: