function partialUsingArguments(fn) { let arr1=Array.from(arguments) arr1.shift() let result=function(){ let arr2=Array.from(arguments) return fn(...arr1,...arr2) } return result }