题解 | 二次封装函数
二次封装函数
https://www.nowcoder.com/practice/fb2d46b99947455a897f2e9fe2268355
function partial(fn, str1, str2) {
let result=fn.bind(null,str1,str2)
return result
}
二次封装函数
https://www.nowcoder.com/practice/fb2d46b99947455a897f2e9fe2268355
function partial(fn, str1, str2) {
let result=fn.bind(null,str1,str2)
return result
}
相关推荐