bind-append
Creates a new function with the given
this
and the appended arguments.. It works like Function.prototype.bind
.. but does not pollute Function.prototype
... and appends the arguments to the new Function arguments
.... instead of prepending them
install
npm i -S bind-append
use
var bindAppend = ; { return a + b * x;} var fn = ; assert;assert;assert;
test
npm test
API
bindAppend(function, thisArg[, arg1[, arg2[, ...]]])
license
MIT
author
Andi Neck @andineck