Array.prototype.find
makes finding items in arrays easier
- takes a compare function
- returns the first value found
- returns
undefined
when nothing was found - combined with destructuring complex compares become short