题解 | #二次封装函数#
二次封装函数
http://www.nowcoder.com/practice/694afeb930f74392bda01a815219d81b
function partialUsingArguments(fn) {
let arg1 = (Array.from(arguments)).slice(1);
return function(){
let arg2 = Array.from(arguments);
fn.apply(this,arg1.concat(arg2))
}
}