Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dLobatog
Created July 4, 2012 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dLobatog/3050035 to your computer and use it in GitHub Desktop.
Save dLobatog/3050035 to your computer and use it in GitHub Desktop.
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