printing an object in javasc code example
Example: print object in javascript
var person = {name:"John", age:30, city:"New York"};
document.getElementById("demo").innerHTML = person;
var person = {name:"John", age:30, city:"New York"};
document.getElementById("demo").innerHTML = person;