// function curring
let num = (num1) => {
return (num2) => {
return (num3) => {
console.log(num1, num2, num3);
}
}
}
num(10)(20)(30);
//output = 10 20 30
//
// function curring with callBack function
let num = (num1) => (num2) => (num3) => console.log(num1, num2, num3);
num(10)(20)(30);
//output = 10 20 30
//