Skip to content

Commit

Permalink
rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Dec 30, 2021
1 parent b64a3a9 commit e6c1a4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core-js/internals/function-uncurry-this.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
var FunctionPrototype = Function.prototype;
var bind = FunctionPrototype.bind;
var call = FunctionPrototype.call;
var callBind = bind && bind.bind(call, call);
var uncurryThis = bind && bind.bind(call, call);

module.exports = bind ? function (fn) {
return fn && callBind(fn);
return fn && uncurryThis(fn);
} : function (fn) {
return fn && function () {
return call.apply(fn, arguments);
Expand Down

0 comments on commit e6c1a4e

Please sign in to comment.