Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript var dump

//common way
console.log(object);

//for non-browser srcipts
console.log( JSON.stringify(object, null, 2) ); // spacing level = 2
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #var #dump
ADD COMMENT
Topic
Name
4+5 =