gilbert189 @gilbert189
function something(a, b, c){
  return function(){/* code that uses a, b, and c */}
}

How should I call this type of function?

Oct 30, 2022, 1:53 PM
15
View all

comments

Highlighted comment
function something(a,b,c){
    return (a,b,c) => {
        
    }
}

No that’s not how it works

maybe just use a class