Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
11
node_modules/d3-array/src/union.js
generated
vendored
Normal file
11
node_modules/d3-array/src/union.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import {InternSet} from "internmap";
|
||||
|
||||
export default function union(...others) {
|
||||
const set = new InternSet();
|
||||
for (const other of others) {
|
||||
for (const o of other) {
|
||||
set.add(o);
|
||||
}
|
||||
}
|
||||
return set;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue