test for the curry exercise for testing with a single argument, which could be easy forgotten when trying to save the state between curry calls.
for example if one will use the approach that the first call will create a new scope and return a function, this will work with the old tests, but not with the one i've added.
for ex:
function curry() {
return function(input) {
// ..
}
}
test for the curry exercise for testing with a single argument, which could be easy forgotten when trying to save the state between curry calls.
for example if one will use the approach that the first call will create a new scope and return a function, this will work with the old tests, but not with the one i've added.
for ex: