install-nix-action/node_modules/es-abstract/helpers/callBind.js
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +01:00

17 lines
373 B
JavaScript

'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);
};