javascript how to find list item in object value code example Example: return an object from an array javascript myArray.find(item => item.isAstronaut)