index.js
var fruits = ["Banana", "Orange", "Apple", "Mango"];
var n = fruits.includes("Mango");
// var n = fruits.map(v => v.toLowerCase()).includes("mango"); // makes all elements within array lowercase
console.log(n); // true
var fruits = ["Banana", "Orange", "Apple", "Mango"];
var n = fruits.includes("Mango");
// var n = fruits.map(v => v.toLowerCase()).includes("mango"); // makes all elements within array lowercase
console.log(n); // true