JavaScript Question 123
Question 123 of 0JavaScript
What's the output?
Code:
const add = x => y => z => {
console.log(x, y, z);
return x + y + z;
};
add(4)(5)(6);const add = x => y => z => {
console.log(x, y, z);
return x + y + z;
};
add(4)(5)(6);