get the value of a property of an object within indexes of an array

I have an array, filled with objects, retrieved from database
I want to get the value of a property of an object within all indexes

let’s say myArray is the array containing the objects

exp:

const a = myArray[].propertyOfObject;