Home / Công nghệ Web / JavaScript / How to use console dot table in Console

How to use console dot table in Console

Print Friendly, PDF & Email

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

About 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.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.