Check if the value exists in Array in Javascript Posted on 2023-03-132023-03-13 Example: const fruits = ["Banana", "Orange", "Apple", "Mango"];fruits.includes("Mango"); check if an item exists in an array: const nums = [ 1, 3, 5, 7]; console.log(nums.includes(3)); // true