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 
 
PREVIOUS NEXT
Tagged: #check #element #array #javascript
ADD COMMENT
Topic
Name
2+4 =