JavaScript partial functions
Consider (https://jsfiddle.net/h9jz2yfs/) // currying function who(func) { let profile=''; return function(name) { profile+=`my name is ${name} `; return function(age) { profile+=`and i'm ${age} years old `; return f...
Oct 23, 20221 min read72