debian-mirror-gitlab/core-js/internals/entry-unbind.js

9 lines
251 B
JavaScript
Raw Normal View History

2019-09-25 13:30:05 +05:30
var global = require('../internals/global');
var bind = require('../internals/bind-context');
var call = Function.call;
module.exports = function (CONSTRUCTOR, METHOD, length) {
return bind(call, global[CONSTRUCTOR].prototype[METHOD], length);
};