Hard
What is this programming technique called?
function add(n1) {
return function(n2) {
return function(n3) {
return n1 + n2 + n3;
}
}
}
add(1)(2)(3); //6
Author: Jean-marie CléryStatus: PublishedQuestion passed 2064 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about Javascript