Created
November 2, 2015 19:35
-
-
Save seemonz/4eab106395bd2b9eb90f 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
function arrayOfLight(x) { | |
var arr = []; | |
for (var i = 0; i <= x; i++) { | |
arr.push(i); | |
} | |
console.log(arr); | |
} | |
arrayOfLight(5); | |
arrayOfLight(9); | |
arrayOfLight(24); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment