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:
/ 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/d...
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!
Auf dieser Seite können Sie das Online-Video Debug your JavaScript code visually with console.table - JavaScript Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer dcode 24 August 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 3,128 Mal angesehen und es wurde von 69 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!