This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.
Smartphone icons created by Freepik - Flaticon
Displaying a JavaScript object will output [object Object]:
const person = { name: "John", age: 30, city: "New York" }; document.getElementById("demo").innerHTML = person;