Skip to content

Instantly share code, notes, and snippets.

@adrimolano
Created May 30, 2016 15:49
Show Gist options
  • Select an option

  • Save adrimolano/a5fab722e02facfca84419e76f70fab9 to your computer and use it in GitHub Desktop.

Select an option

Save adrimolano/a5fab722e02facfca84419e76f70fab9 to your computer and use it in GitHub Desktop.

Revisions

  1. adrimolano created this gist May 30, 2016.
    9 changes: 9 additions & 0 deletions arrayOfLight.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    arrayOfLight = function(num){
    arr = [];
    for(var i = 1; i <= num; i++){
    arr.push(i);
    }
    console.log(arr);
    };

    arrayOfLight(25);