How to use console dot table in Console

As a programmer, being aware of debug tools is vital. I am pretty sure every single Javascript programmer should be familiar with the Console tab in DevTool panel of Web Browser. However, have you ever tried console.table() yet?

Let’s see an example shown in the screenshot below.

Result of using console.table function
Result of using console.table function

This utility comes in handy to display a JSON string as the table.

Ref: https://levelup.gitconnected.com/javascript-console-debugging-beyond-the-basics-90b1d14b888a

Nguyen Vu Ngoc Tung

I love making new professional acquaintances. Don't hesitate to contact me via nguyenvungoctung@gmail.com if you want to talk about information technology, education, and research on complex networks analysis (i.e., metabolic networks analysis), data analysis, and applications of graph theory. Specialties: researching and proposing innovative business approaches to organizations, evaluating and consulting about usability engineering, training and employee development, web technologies, software architecture.

https://www.itersdesktop.com/author/nvntung/

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur la façon dont les données de vos commentaires sont traitées.