How to check if array includes element in JavaScript

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

apps.includes("calculator");
true
JavaScript in array on Learn JavaScript Blog