Created
April 6, 2015 18:54
-
-
Save Andsbf/f00a617ea4e4f74c161e to your computer and use it in GitHub Desktop.
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
var output = [] | |
var arrayOfLight = function (x) { | |
for (i = 0; i <= x; i++){ | |
output.push(i); | |
} | |
return output; | |
} | |
console.log(arrayOfLight(10)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment