re: How to create range in Javascript VIEW POST

FULL DISCUSSION
 

Jason, just curious, what's your concern about looping? I don't have a reference, but I would think that the various interpreters (especially V8) would optimize / unroll them.

 

It's just personal taste I guess. I think code with less loops are more readable.

code of conduct - report abuse