DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript check if elements of one array are in another
const found = arr1.some(r=> arr2.includes(r))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#check
#elements
#array
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit