const person = { name: 'name', age: 30, hobbies: ['Baseball', 'Woodworking'] } for (const hobby of person.hobbies) { console.log(hobby) }