When searching for items in an array, sometimes we search for a single item, other times we search for multiple items that mean some criteria. The Array#find and Array#filter functions are intended to simplify this.
In this recipe, we'll take a look at how to use these two functions to locate elements within an array.