function outsideFunction(num1){
let acc = num1;
return function innerFunction1(num2){
acc+=num2;
return function innerFunction2(num3){
acc+=num3;
return acc;
}
}
}
outsideFunction(1)(2)(3);
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)