DEV Community

0xkoji
0xkoji

Posted on

console.table display Tip

const arr = [1,2,3,4,5,6];
Enter fullscreen mode Exit fullscreen mode
console.table(arr);
Enter fullscreen mode Exit fullscreen mode

Alt Text

console.table({number: arr})
Enter fullscreen mode Exit fullscreen mode

Alt Text

Top comments (0)