|
Last change
on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
381 bytes
|
| Line | |
|---|
| 1 | "use strict";
|
|---|
| 2 |
|
|---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
|---|
| 4 | value: true
|
|---|
| 5 | });
|
|---|
| 6 | exports.default = difference;
|
|---|
| 7 | var _index = require("../../../lib-vendor/internmap/src/index.js");
|
|---|
| 8 | function difference(values, ...others) {
|
|---|
| 9 | values = new _index.InternSet(values);
|
|---|
| 10 | for (const other of others) {
|
|---|
| 11 | for (const value of other) {
|
|---|
| 12 | values.delete(value);
|
|---|
| 13 | }
|
|---|
| 14 | }
|
|---|
| 15 | return values;
|
|---|
| 16 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.