Skip to content

Instantly share code, notes, and snippets.

@dLobatog
Created July 4, 2012 23:19
Embed
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