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!
Nesta página do site você pode assistir ao vídeo on-line Debug your JavaScript code visually with console.table - JavaScript Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário dcode 24 Agosto 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 3,128 vezes e gostou 69 espectadores. Boa visualização!