题解 | #二次封装函数#
二次封装函数
https://www.nowcoder.com/practice/694afeb930f74392bda01a815219d81b
function partialUsingArguments(fn) { let arr1=Array.from(arguments) arr1.shift() let result=function(){ let arr2=Array.from(arguments) return fn(...arr1,...arr2) } return result }