JavaScript Compruebe si los elementos de una matriz están en otra
const found = arr1.some(r=> arr2.includes(r))
Easy Earthworm
const found = arr1.some(r=> arr2.includes(r))
let superSet = ['B', 'C', 'A', 'D'];
let subSet = ['D', 'C'];
let mixedSet = new Set([...superSet, ...subSet]);
let isSubset = mixedSet.size == superSet.length
const found = arr1.some(r=> arr2.indexOf(r) >= 0)