Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check if an element is in array javascript

array.includes('element that need to be checked') //returns true or false 
Source by www.javatpoint.com #
 
PREVIOUS NEXT
Tagged: #check #element #array #javascript
ADD COMMENT
Topic
Name
7+4 =