| define(['./restArguments', './isFunction', './_executeBound'], function (restArguments, isFunction, _executeBound) { | |
| // Create a function bound to a given object (assigning `this`, and arguments, | |
| // optionally). | |
| var bind = restArguments(function(func, context, args) { | |
| if (!isFunction(func)) throw new TypeError('Bind must be called on a function'); | |
| var bound = restArguments(function(callArgs) { | |
| return _executeBound(func, bound, context, this, args.concat(callArgs)); | |
| }); | |
| return bound; | |
| }); | |
| return bind; | |
| }); | |
Xet Storage Details
- Size:
- 544 Bytes
- Xet hash:
- c32ebc542101e1bd5837254e5b1f65d3a209f4eb4cfb30e370614d0c4d5f1ef4
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.