Say you have a range of integers - 0 thru 100, and you wish to create an Array
containing elements [0, 1, 2, … 100], what's the simplest way to do it?
For me the easiest has to be:
var results = []
for (var i = 0, l = 101; i < l; i++) { results.push(i) }
Another approach is to do this: