DEV Community

Koji (he/him)
Koji (he/him)

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

Discussion (0)