Skip to content

Instantly share code, notes, and snippets.

@uniphil
Last active July 19, 2017 15:11
Show Gist options
  • Save uniphil/6311eedfd325dfbd5147b017c2259816 to your computer and use it in GitHub Desktop.
Save uniphil/6311eedfd325dfbd5147b017c2259816 to your computer and use it in GitHub Desktop.
es6 modules combinator
export default (at, a = 1, b = 1) =>
at < 1 ? a : require('.').default(at - 1, b, a + b);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment