Returns the first element in the set (according to insertion order) that satisfies the provided testing function. Otherwise undefined is returned.
The set to search.
The testing function.
Returns the first element in the set (according to insertion order) that satisfies the provided testing function. Otherwise undefined is returned.