Sha256: ed6da616b130e19f1931ed185fbc7ec8741a46dac23129b2ba7e660b94abcc12

Contents?: true

Size: 661 Bytes

Versions: 4

Compression:

Stored size: 661 Bytes

Contents

'use strict';
var $ = require('../internals/export');
var fails = require('../internals/fails');
var intersection = require('../internals/set-intersection');
var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like');

var INCORRECT = !setMethodAcceptSetLike('intersection') || fails(function () {
  // eslint-disable-next-line es/no-array-from, es/no-set -- testing
  return Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2]))) !== '3,2';
});

// `Set.prototype.intersection` method
// https://github.com/tc39/proposal-set-methods
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
  intersection: intersection
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-0.26.10 packages/webpacker/node_modules/core-js/modules/esnext.set.intersection.v2.js
decidim-0.26.9 packages/webpacker/node_modules/core-js/modules/esnext.set.intersection.v2.js
decidim-0.28.0.rc5 packages/webpacker/node_modules/core-js/modules/esnext.set.intersection.v2.js
decidim-0.28.0.rc4 packages/webpacker/node_modules/core-js/modules/esnext.set.intersection.v2.js