题解 | #柯里化#
https://www.nowcoder.com/practice/bb78d69986794470969674a8b504ac00
function curryIt(fn) { return function (a) { return function (b) { return function (c) { return fn(a, b, c); } } } }
https://www.nowcoder.com/practice/bb78d69986794470969674a8b504ac00
function curryIt(fn) { return function (a) { return function (b) { return function (c) { return fn(a, b, c); } } } }
相关推荐