return an object from an array javascript

JavaScript
myArray.find(item => item.isAstronaut)filter()
Source

Also in JavaScript: