massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / entry-unbind.js
index 69ead9b5252358e51444df86daae43563e8cc893..2f458630df2f94f0e9c778c38e7f6a94b479e15d 100644 (file)
@@ -1,8 +1,6 @@
 var global = require('../internals/global');
-var bind = require('../internals/function-bind-context');
+var uncurryThis = require('../internals/function-uncurry-this');
 
-var call = Function.call;
-
-module.exports = function (CONSTRUCTOR, METHOD, length) {
-  return bind(call, global[CONSTRUCTOR].prototype[METHOD], length);
+module.exports = function (CONSTRUCTOR, METHOD) {
+  return uncurryThis(global[CONSTRUCTOR].prototype[METHOD]);
 };