how to print object value in javascript 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;