how to check element in array in js code example
Example: js array contains
let fruits = ["Banana", "Orange", "Apple", "Mango"];
let do_contain = fruits.includes("Mango"); // contain: true
let fruits = ["Banana", "Orange", "Apple", "Mango"];
let do_contain = fruits.includes("Mango"); // contain: true