You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tom Brasington edited this page Jan 6, 2014
·
4 revisions
Higgs has a library to to allow you to pretty-print objects/data to stdout.
Importing:
// To us use the console functions you must import the console module:varconsole=require('lib/console');
Functions:
// To pretty-printconsole.log("foo");console.log({foo: "bar"});// If you pass multiple arguments, they will be printed on the same line separated by tabsconsole.log(1,2,3);