Skip to content

Instantly share code, notes, and snippets.

@PatrickJS
Created June 9, 2013 04:44
Show Gist options
  • Save PatrickJS/5737693 to your computer and use it in GitHub Desktop.
Save PatrickJS/5737693 to your computer and use it in GitHub Desktop.
var fibonacci = function(n) {
return n < 2 ? n : arguments.callee(n - 1) + arguments.callee(n - 2);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment