Skip to content

Instantly share code, notes, and snippets.

@Andsbf
Created April 6, 2015 18:54
Show Gist options
  • Save Andsbf/f00a617ea4e4f74c161e to your computer and use it in GitHub Desktop.
Save Andsbf/f00a617ea4e4f74c161e to your computer and use it in GitHub Desktop.
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