let obj = { key1: "value1", key2: "value2", key3: "value3"} for(const key in obj){ console.log(obj[key]) } //result // value1 // value2 // value3