katoikia-app/web-ui/web-react/node_modules/axios/lib/helpers/bind.js

12 lines
256 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
'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);
};
};