Find element in array or object for which provided function returns true
Until element is found, provided function is called for each element with arguments: current element, current index/key and initial container.
If searched element is not found, undefined is returned.
Find element in array or object for which provided function returns
trueUntil element is found, provided function is called for each element with arguments: current element, current index/key and initial container.
If searched element is not found,
undefinedis returned.