Thanks for this article. I find your first answer to be the most intuitive, and it works great for my situation.
functionloopASequenceAgain(start,end){// create a loop which loops from start to endvarans=[];for(leti=start;i<=end;i++){// log current value to consoleconsole.log(i);ans.push(i);}returnans;}
re: How to create range in Javascript VIEW POST
FULL DISCUSSIONThanks for this article. I find your first answer to be the most intuitive, and it works great for my situation.