Created
May 31, 2016 11:09
-
-
Save srinjoyc/30dc670f0eb4adba0e396bd247b6a305 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 arrayOfLight = function(x){ | |
var arr = []; | |
for(var i=0; i <= x; i++){ | |
arr[i] = i; | |
} | |
return arr; | |
} | |
console.log(arrayOfLight(88)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment