Last active
July 19, 2017 15:11
-
-
Save uniphil/6311eedfd325dfbd5147b017c2259816 to your computer and use it in GitHub Desktop.
es6 modules combinator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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