This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const f1 = () => console.log('f', 1) | |
const f2 = () => console.log('f', 2) | |
const f3 = () => console.log('f', 3) | |
const f4 = () => console.log('f', 4) | |
const f5 = () => console.log('f', 5) | |
/** | |
* 合并单参数方法 | |
*/ | |
function compose(...funcs) { |