How can I call Function.prototype.bind with an array of arguments, as opposed to hardcoded arguments? (Not using ECMA6, so no spread operator).
I\'m trying to put a
I find following cleaner than the accepted answers
Function.bind.apply(db.find, [null].concat(arguments));