javacscript function that returns an element of an object array code example Example: return an object from an array javascript myArray.find(item => item.isAstronaut)