Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

var_dump in javascript

//common way
console.log(object);

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