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 stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #element #array #javascript
ADD COMMENT
Topic
Name
3+5 =