• File: bind.js
  • Full Path: /var/www/nodejs/Notifications_Imali_API/node_modules/axios/lib/helpers/bind.js
  • Date Modified: 10/26/1985 3:15 PM
  • File size: 256 bytes
  • MIME-type: text/plain
  • Charset: utf-8
'use strict';

module.exports = function bind(fn, thisArg) {
  return function wrap() {
    var args = new Array(arguments.length);
    for (var i = 0; i < args.length; i++) {
      args[i] = arguments[i];
    }
    return fn.apply(thisArg, args);
  };
};