DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to check if item is in list js
var myList=["a", "b", "c"]; mylist.includes("d")//returns true or false
PREVIOUS
NEXT
Tagged:
#check
#item
#list
#js
ADD COMMENT
Topic
COMMENT
Name
6+1 =
Submit