How to print content of JavaScript object?

Print content of object you can use


 console.log(obj_str);  

you can see the result in console like below.


 Object {description: "test"}  

For open console press F12 in chrome browser, you will found console tab in debug mode.

Nikunj K

Phasellus facilisis convallis metus, ut imperdiet augue auctor nec. Duis at velit id augue lobortis porta. Sed varius, enim accumsan aliquam tincidunt, tortor urna vulputate quam, eget finibus urna est in augue.