JavaScript Array .includes() Method
The JavaScript array.includes() method checks if an array contains a given value and returns either true or false.
The JavaScript array.includes() method checks if an array contains a given value and returns either true or false.