Skip to content

Instantly share code, notes, and snippets.

@rndme
Created October 12, 2014 07:15
Show Gist options
  • Save rndme/506f1a4f9f30890125d7 to your computer and use it in GitHub Desktop.
Save rndme/506f1a4f9f30890125d7 to your computer and use it in GitHub Desktop.
count to 10 the functional way
[].map.call( Array(10)+1, Function.call.bind(Number) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment