Code to go logo
Created using Figma
Use Cases
Contribute
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
Dec 16, 2017
1
Jad Joubran
See answer
1
Jad Joubran
JavaScript in array
on Learn JavaScript Blog
Learn JavaScript step by step