JS Array objek mendapatkan kunci tertentu dari semua objek
let users = [
{
name: 'John',
age: 20,
},
{
name: 'Richard',
age: 25,
}
];
let names = users.map(user => user.name);
// ['John', 'Richard]
joel2play