user1275375 user1275375 - 1 year ago 103
Javascript Question

Formatting the output in console.log in javascript

I want the output displayed in webconsole using console.log in a table format is it possible to print it. For example i have two variables x and y whose values keep changing. Can i print this variables in a table in console.

Answer Source



Make sure your output is object.

Also you can find some other console commands at firebug website

For google chrome see official docs