'Find' returns the element that satisfies the condition instead of filter, which returns an array including the element. Even when the element being searched for is present at the beginning, the entire array is iterated in the filter function.