find() method returns the value of the first element in the array that passes the provided testing function. Otherwise undefined is returned.
Note: This method does not alter the original array.
|function(value, index, arr)||Required||Function to test for each element in an array.|
Value - Specifies a value or element in an array.
index - Specifies the index of a value or element in an array.
arr - Specifies the whole array.
|thisArg||Optional||Specifies a value against which each element in an array is tested.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.