I'm wondering if there is a way to make large numbers readable in JavaScript. I'm sure there is I just can't find it. For example, if I am writing
for (var i=0; i < 1000000; i++){
codecodecode};
is there a way to write that 1000000 so that it's readable without disrupting the for loop?
Furthermore, is there a way of returning a large number so that, too, is readable?
Sorry if I explained this poorly, I'm just starting out...
Thanks in advance!