Skip to content

Commit

Permalink
rename arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Dec 10, 2022
1 parent 35e3b2e commit 54d749b
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions packages/core-js/modules/esnext.set.difference.js
Expand Up @@ -8,7 +8,7 @@ var $difference = require('../internals/set-difference');
// https://github.com/tc39/proposal-set-methods
// TODO: Obsolete version, remove from `core-js@4`
$({ target: 'Set', proto: true, real: true, forced: true }, {
difference: function difference(iterable) {
return call($difference, this, toSetLike(iterable));
difference: function difference(other) {
return call($difference, this, toSetLike(other));
}
});
4 changes: 2 additions & 2 deletions packages/core-js/modules/esnext.set.intersection.js
Expand Up @@ -8,7 +8,7 @@ var $intersection = require('../internals/set-intersection');
// https://github.com/tc39/proposal-set-methods
// TODO: Obsolete version, remove from `core-js@4`
$({ target: 'Set', proto: true, real: true, forced: true }, {
intersection: function intersection(iterable) {
return call($intersection, this, toSetLike(iterable));
intersection: function intersection(other) {
return call($intersection, this, toSetLike(other));
}
});
4 changes: 2 additions & 2 deletions packages/core-js/modules/esnext.set.is-disjoint-from.js
Expand Up @@ -8,7 +8,7 @@ var $isDisjointFrom = require('../internals/set-is-disjoint-from');
// https://github.com/tc39/proposal-set-methods
// TODO: Obsolete version, remove from `core-js@4`
$({ target: 'Set', proto: true, real: true, forced: true }, {
isDisjointFrom: function isDisjointFrom(iterable) {
return call($isDisjointFrom, this, toSetLike(iterable));
isDisjointFrom: function isDisjointFrom(other) {
return call($isDisjointFrom, this, toSetLike(other));
}
});
4 changes: 2 additions & 2 deletions packages/core-js/modules/esnext.set.is-subset-of.js
Expand Up @@ -8,7 +8,7 @@ var $isSubsetOf = require('../internals/set-is-subset-of');
// https://github.com/tc39/proposal-set-methods
// TODO: Obsolete version, remove from `core-js@4`
$({ target: 'Set', proto: true, real: true, forced: true }, {
isSubsetOf: function isSubsetOf(iterable) {
return call($isSubsetOf, this, toSetLike(iterable));
isSubsetOf: function isSubsetOf(other) {
return call($isSubsetOf, this, toSetLike(other));
}
});
4 changes: 2 additions & 2 deletions packages/core-js/modules/esnext.set.is-superset-of.js
Expand Up @@ -8,7 +8,7 @@ var $isSupersetOf = require('../internals/set-is-superset-of');
// https://github.com/tc39/proposal-set-methods
// TODO: Obsolete version, remove from `core-js@4`
$({ target: 'Set', proto: true, real: true, forced: true }, {
isSupersetOf: function isSupersetOf(iterable) {
return call($isSupersetOf, this, toSetLike(iterable));
isSupersetOf: function isSupersetOf(other) {
return call($isSupersetOf, this, toSetLike(other));
}
});
4 changes: 2 additions & 2 deletions packages/core-js/modules/esnext.set.symmetric-difference.js
Expand Up @@ -8,7 +8,7 @@ var $symmetricDifference = require('../internals/set-symmetric-difference');
// https://github.com/tc39/proposal-set-methods
// TODO: Obsolete version, remove from `core-js@4`
$({ target: 'Set', proto: true, real: true, forced: true }, {
symmetricDifference: function symmetricDifference(iterable) {
return call($symmetricDifference, this, toSetLike(iterable));
symmetricDifference: function symmetricDifference(other) {
return call($symmetricDifference, this, toSetLike(other));
}
});
4 changes: 2 additions & 2 deletions packages/core-js/modules/esnext.set.union.js
Expand Up @@ -8,7 +8,7 @@ var $union = require('../internals/set-union');
// https://github.com/tc39/proposal-set-methods
// TODO: Obsolete version, remove from `core-js@4`
$({ target: 'Set', proto: true, real: true, forced: true }, {
union: function union(iterable) {
return call($union, this, toSetLike(iterable));
union: function union(other) {
return call($union, this, toSetLike(other));
}
});

0 comments on commit 54d749b

Please sign in to comment.