how to print an object js 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;