let obj = {name: "Mr X", sex: "Yes, 3 times a day"}; for (key in obj) { console.log(key, " ", obj[key]) }