You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
373 B
18 lines
373 B
4 years ago
|
'use strict';
|
||
|
|
||
|
var bind = require('function-bind');
|
||
|
|
||
|
var GetIntrinsic = require('../GetIntrinsic');
|
||
|
|
||
|
var $Function = GetIntrinsic('%Function%');
|
||
|
var $apply = $Function.apply;
|
||
|
var $call = $Function.call;
|
||
|
|
||
|
module.exports = function callBind() {
|
||
|
return bind.apply($call, arguments);
|
||
|
};
|
||
|
|
||
|
module.exports.apply = function applyBind() {
|
||
|
return bind.apply($apply, arguments);
|
||
|
};
|