2 ms·
function.length is certainy a PITA dus to the `arguments` issue that was mentioned. In particular, function.length doesn't work on functions returned by our own
by ufo 14y ago
function.length is certainy a PITA dus to the `arguments` issue that was mentioned. In particular, function.length doesn't work on functions returned by our own combinators, a big no-no!
In the end I adopted a convention where every function that depends on the number of arguments of something else receives that number sa a first parameter:
maybe(2, function(a,b){ ... })