Created
July 25, 2014 13:09
-
-
Save wegorich/b9e4c3715bd5aebe6f24 to your computer and use it in GitHub Desktop.
JS doing the N.times in Ruby code
This file contains hidden or 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
| var list = Array.apply(null, { length: 100 }).map(Number.call, Number).map(function (i) { | |
| return callback(i); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment