Repositorio del curso CCOM4030 el semestre B91 del proyecto kilometro0

callBind.js 373B

1234567891011121314151617
  1. 'use strict';
  2. var bind = require('function-bind');
  3. var GetIntrinsic = require('../GetIntrinsic');
  4. var $Function = GetIntrinsic('%Function%');
  5. var $apply = $Function.apply;
  6. var $call = $Function.call;
  7. module.exports = function callBind() {
  8. return bind.apply($call, arguments);
  9. };
  10. module.exports.apply = function applyBind() {
  11. return bind.apply($apply, arguments);
  12. };