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:
519 bytes
|
Rev | Line | |
---|
[79a0317] | 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 $difference = require('../internals/set-difference');
|
---|
| 6 |
|
---|
| 7 | // `Set.prototype.difference` 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 | difference: function difference(other) {
|
---|
| 12 | return call($difference, this, toSetLike(other));
|
---|
| 13 | }
|
---|
| 14 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.