How to check if array includes element in JavaScript

Arrays
Last updated Dec 16, 2017
const apps = ["phone", "calculator", "clock"];

apps.includes("calculator");
true