Tuesday, 15 March 2011

javascript - Why call void on an unknown argument before returning another function call? -



javascript - Why call void on an unknown argument before returning another function call? -

what's significance of calling void before returning in ramda's arity function?

ramda co-author here. artifact of of code linting do. want warned if there ununsed parameters in function definition. in case of arity, params there create function correct, well, arity. adding void arg_n passes linter.

javascript arity ramda.js

No comments:

Post a Comment