aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/internals/entry-unbind.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/core-js/internals/entry-unbind.js')
-rw-r--r--node_modules/core-js/internals/entry-unbind.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/core-js/internals/entry-unbind.js b/node_modules/core-js/internals/entry-unbind.js
new file mode 100644
index 0000000..69ead9b
--- /dev/null
+++ b/node_modules/core-js/internals/entry-unbind.js
@@ -0,0 +1,8 @@
+var global = require('../internals/global');
+var bind = require('../internals/function-bind-context');
+
+var call = Function.call;
+
+module.exports = function (CONSTRUCTOR, METHOD, length) {
+ return bind(call, global[CONSTRUCTOR].prototype[METHOD], length);
+};