Back to Browse

Debug your JavaScript code visually with console.table - JavaScript Tutorial

3.1K views
Aug 24, 2018
4:19

In this video we take a look at the potential alternative to the beloved console.log() method in JavaScript - this is the console.table() method used for visualising your arrays and objects in a format of a table! Rather than displaying objects and arrays in a traditional expandable component, console.table() shows a visual table instead, making it easy to see smaller sized data collections. As of right now I believe this method only works on objects and arrays but please let me know in the comments if it has worked for you on other types (or in other browsers). Support me on Patreon: https://www.patreon.com/dcode - with enough funding I plan to develop a website of some sort with a new developer experience! For your reference, check this out: https://developer.mozilla.org/en-US/docs/Web/API/Console/table Follow me on Twitter @dcode! If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

Download

1 formats

Video Formats

360pmp45.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Debug your JavaScript code visually with console.table - JavaScript Tutorial | NatokHD