Exemplo n.º 1
0
 return $restArg (function (fn, this_) {
                     return _.withArgs (
                         Math.max (0, _.numArgs (fn) - (arguments.length - 2)), fn._ra,
                             bind.apply (this, arguments)) }) })
Exemplo n.º 2
0
 withSameArgs: function (other, fn) {
                     return _.withArgs (_.numArgs (other), _.restArg (other), fn) } }) })
Exemplo n.º 3
0
 return $restArg (function (fn) {
                         return _.withArgs (
                             Math.max (0, _.numArgs (fn) - (arguments.length - 1)), fn._ra,
                                 partial.apply (this, arguments)) }) })