Cara menggunakan metode array yang paling banyak digunakan - peta
const people = [{ name: "Kyle", age: 26 }, { name: "Jill", age: 35 }]
const peopleNames = people.map(person => person.name)
console.log(peopleNames)
// ["Kyle", "Jill"]
Victorious Vole