This repository has been archived on 2023-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
|
Function.prototype.bind = Function.prototype.bind || function (target) {
|
|
var self = this;
|
|
return function (args) {
|
|
if (!(args instanceof Array)) {
|
|
args = [args];
|
|
}
|
|
self.apply(target, args);
|
|
};
|
|
};
|