see what is in array code example
Example: javascript element in array
var fruits = ["Banana", "Orange", "Apple", "Mango"];
var n = fruits.includes("Mango");
var fruits = ["Banana", "Orange", "Apple", "Mango"];
var n = fruits.includes("Mango");