1const PlayerOne = ['B', 'C', 'A', 'D'];
2const PlayerTwo = ['D', 'C'];
3
4const result = PlayerTwo.every(val => PlayerOne.includes(val));
5
6console.log(result);
1let superSet = ['B', 'C', 'A', 'D'];
2let subSet = ['D', 'C'];
3let mixedSet = new Set([...superSet, ...subSet]);
4let isSubset = mixedSet.size == superSet.length