Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

instance use in_array in javascript

const array1 = [1, 2, 3];

console.log(array1.includes(2));
 
PREVIOUS NEXT
Tagged: #instance #javascript
ADD COMMENT
Topic
Name
2+7 =