Skip to content

Instantly share code, notes, and snippets.

@rsp
Last active November 29, 2017 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rsp/37e0b859bde229c22f9016d48685ff70 to your computer and use it in GitHub Desktop.
Save rsp/37e0b859bde229c22f9016d48685ff70 to your computer and use it in GitHub Desktop.
inFullMobile Language Wars: Round 1 - JavaScript Solution 1 by @rsp - See: https://gist.github.com/rsp/d8bdbafa09f24f99eebc8ed60fe205c8
const f = x => y => z => {
let r = z;
for (let i = 1; i++ < x(a => a + 1)(0); r = y(r));
return r;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment