const person = { name: 'John', age: 34, hobbies: { read: true, playGames: true } } let {name, hobbies: {read, playGames}} = person; console.log(person); console.log(name); console.log(read,playGames);