I am studying for JS coding interviews and just wanted a simple example of JS currying.
Does this example pass as currying?
function curry(a){
return function(b){
return function(c){
console.log(a+b+c)
}
}
}
curry(2)(2)(2)