[[Object.entries (JavaScript)|Object.entries]]を使う。 ```js for (const [key, value] of Object.entries(object1)) { console.log(`${key}: ${value}`); } ```