console.log(sum(2, 5, 10));//17 console.log(sum(2, 5)(10));//17 console.log(sum(2)(5)(10));//17 console.log(sum(2)(5, 10));//17