📅  最后修改于: 2022-03-11 15:04:30             🧑  作者: Mango
let superSet = ['B', 'C', 'A', 'D'];
let subSet = ['D', 'C'];
let mixedSet = new Set([...superSet, ...subSet]);
let isSubset = mixedSet.size == superSet.length