Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Recursive functions with basecase
recursive_function(argument1) {
if (argument1 == 10) { return argument1 }
return recursive_function(argument1 + 1)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment