Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript list has item

var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.includes("Mango");
//true
 
PREVIOUS NEXT
Tagged: #javascript #list #item
ADD COMMENT
Topic
Name
2+1 =