javascript dump variable code example
Example: javascript var dump
//common way
console.log(object);
//for non-browser srcipts
console.log( JSON.stringify(object, null, 2) ); // spacing level = 2
//common way
console.log(object);
//for non-browser srcipts
console.log( JSON.stringify(object, null, 2) ); // spacing level = 2