Returns whether set contains all the elements in subset. Taken from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set.
set
subset
const setA = new Set([1, 2, 3, 4]);const setB = new Set([3, 4]);setUnion(setA, setB); // true Copy
const setA = new Set([1, 2, 3, 4]);const setB = new Set([3, 4]);setUnion(setA, setB); // true
Returns whether
setcontains all the elements insubset. Taken from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set.