Skip to content

Instantly share code, notes, and snippets.

@joshuastr
Created May 30, 2016 15:27
Show Gist options
  • Save joshuastr/5e8128c09236f215ddde0506a5a0f313 to your computer and use it in GitHub Desktop.
Save joshuastr/5e8128c09236f215ddde0506a5a0f313 to your computer and use it in GitHub Desktop.
function arrayOfLight(x){
var output = [];
for (i = 0; i < x +1; i++){
output.push(i);
}
return output;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment