const obj = { obj1: [{ name: \'Max\', age: 25 }] } Object.values(obj).map(obj => console.log(obj.obj1.name))
Uncaught TypeError: Can