Severian's picture
Upload 7464 files
c211499
raw
history blame contribute delete
250 Bytes
import {InternSet} from "internmap";
export default function difference(values, ...others) {
values = new InternSet(values);
for (const other of others) {
for (const value of other) {
values.delete(value);
}
}
return values;
}