crop_rotate
Run
<!DOCTYPE html> <html> <body> <h2>JavaScript Objects</h2> <p>Display object properties:</p> <p id="demo"></p> <script> const person = { name: "ali", age: 30, city: "New York" }; let txt = ""; for (let x in person) { txt += person[x] + " "; }; document.getElementById("demo").innerHTML = txt; </script> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxib2R5Pg0KDQo8aDI+SmF2YVNjcmlwdCBPYmplY3RzPC9oMj4NCjxwPkRpc3BsYXkgb2JqZWN0IHByb3BlcnRpZXM6PC9wPg0KDQo8cCBpZD0iZGVtbyI+PC9wPg0KDQo8c2NyaXB0Pg0KY29uc3QgcGVyc29uID0gew0KICBuYW1lOiAiYWxpIiwNCiAgYWdlOiAzMCwNCiAgY2l0eTogIk5ldyBZb3JrIg0KfTsNCg0KbGV0IHR4dCA9ICIiOw0KZm9yIChsZXQgeCBpbiBwZXJzb24pIHsNCiAgdHh0ICs9IHBlcnNvblt4XSArICIgIjsNCn07DQoNCmRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJkZW1vIikuaW5uZXJIVE1MID0gdHh0Ow0KPC9zY3JpcHQ+DQoNCjwvYm9keT4NCjwvaHRtbD4=