0
I have a certain array
var people = [
{
name: 'Leandro',
age: 36
},
{
name: 'Joaquim',
age: 29
},
{
name: 'Maria',
age: 25
}
]
If I want to return the name property at the first position I do the following
console.log(people[0].name)
How do I return all the names contained in the name property? The desired result is this:
Leandro, Joaquim, Maria