Created
February 6, 2014 08:33
-
-
Save snowman-repos/8840356 to your computer and use it in GitHub Desktop.
Generate an array of numbers with numbers from 0 to max
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
numbersArray = [] | |
max = 100 | |
i = 1 # numbers = [1,2,3 ... 100] | |
while numbersArray.push(i++) < max |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment