Use of console.table() function.

vishalneeraj-24503
Posted by vishalneeraj-24503 under JavaScript category on | Points: 40 | Views : 311
function console_table_example()
{
var person = [
{ name: 'vishal', surname: 'kumar' },
{ name: 'neeraj', surname: 'pansari' }
];
console.table(person);
}

It will display like table format.

Comments or Responses

Login to post response