Skip to content

Instantly share code, notes, and snippets.

@FlorianBELLAZOUZ
Created November 20, 2015 18:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FlorianBELLAZOUZ/eaaba0be555feae17d2d to your computer and use it in GitHub Desktop.
Save FlorianBELLAZOUZ/eaaba0be555feae17d2d to your computer and use it in GitHub Desktop.
minimal fibonacci ( arrow function ) - 25 o
f=n=>n<=1?n:f(n-2)+f(n-1)
f(10) // return 55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment