Skip to content

Instantly share code, notes, and snippets.

@goofmint

goofmint/index.js

Created Oct 5, 2018
Embed
What would you like to do?
function f(n) {
if (n <= 1) return 1;
return f(n - 1) + f(n - 2);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment