Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

array contains multiple js

var containsAll = arr1.every(i => arr2.includes(i));
 
PREVIOUS NEXT
Tagged: #array #multiple #js
ADD COMMENT
Topic
Name
6+3 =