What value is obtained when executing the following code?
function add(a) {
return function(b) {
return a + b;
};
}
console.log(add(2)(3));
What value is obtained when executing the following code?
function add(a) {
return function(b) {
return a + b;
};
}
console.log(add(2)(3));