Answers for "js how to print object properties"

0

print object in javascript

var person = {name:"John", age:30, city:"New York"};


document.getElementById("demo").innerHTML = person;
Posted by: Guest on April-23-2021

Code answers related to "js how to print object properties"

Code answers related to "Javascript"

Browse Popular Code Answers by Language