const fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.includes("Mango");
var myList=["a", "b", "c"];
mylist.includes("d")//returns true or false
array.includes('element that need to be checked') //returns true or false
function checkAllEven(arr) {
return arr.every(function(x){
return x % 2 === 0
})
}
//using "every" to check every item in array.