main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
531 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var $ = require('../internals/export');
|
---|
3 | var call = require('../internals/function-call');
|
---|
4 | var toSetLike = require('../internals/to-set-like');
|
---|
5 | var $intersection = require('../internals/set-intersection');
|
---|
6 |
|
---|
7 | // `Set.prototype.intersection` method
|
---|
8 | // https://github.com/tc39/proposal-set-methods
|
---|
9 | // TODO: Obsolete version, remove from `core-js@4`
|
---|
10 | $({ target: 'Set', proto: true, real: true, forced: true }, {
|
---|
11 | intersection: function intersection(other) {
|
---|
12 | return call($intersection, this, toSetLike(other));
|
---|
13 | }
|
---|
14 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.