js find element in array by property

JavaScript
var result = jsObjects.find(obj => {
  return obj.b === 6
})
Source

Also in JavaScript: