My function wont pass the with the input of addTogether(5)(7); im confused because when this is input it gives an error that addTogether(…) is not a function. So it doesnt seem like it would ever work with any function.
function addTogether(a,b) {
if (typeof(a) != "number" || typeof(b) != "number"){
return undefined;
} return (a + b);
}
addTogether(5)(7);