Var add5 = _.partial(sum, 5);
add5(6)=11
Write partial.
Resposta da entrevista
Sigiloso
9 de jan. de 2018
This could have been answered as a simple case of using .bind . Instead, I believe I used the convoluted Array.prototype.slice on the arguments array-like-object and a closure.