function foo(a,b,c) { console.log(`a:${a}, b:${b} c:${c}`) } // 柯里化 const b = foo.bind(null, 'a') const c = b.bind(null, 'b') c('c') console.log(b)