Created
May 21, 2019 12:28
-
-
Save kanian/76b7d8471c372f012d38c080e64e1538 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 arrayFillSequential(from,to){ | |
let arr = [] | |
for(var i=from;from<=to;from++){ | |
arr.push(from) | |
} | |
return arr | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment