How to print content of JavaScript object?

Share:
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.

1 comment:

Ads