get the property value of a sub array es6 code example Example: return an object from an array javascript myArray.find(item => item.isAstronaut)