Skip to content

Instantly share code, notes, and snippets.

@ileathan
Last active November 28, 2017 02:06
Show Gist options
  • Save ileathan/de0f6a086cd30b14d9c881abde2605c8 to your computer and use it in GitHub Desktop.
Save ileathan/de0f6a086cd30b14d9c881abde2605c8 to your computer and use it in GitHub Desktop.
add=(_=>n=>_+=n)(0)
add(5) // => 5
add(10) // => 15
add(7) // -> 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment