The some() function of array object returns true if at least one element in this array satisfies the provided testing function. Use it for example to check element exist in the array.
Syntax
This will produce following result
This will produce following result
This will produce following result