Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Array Methods includes()

const list = [1, 2, 3, 4, 5, 5, 23, 21, 1231, 2434, 443546456, 17];
console.log(list.includes(4));
// --> true
Source by github.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #Array #Methods
ADD COMMENT
Topic
Name
3+5 =