News for hackers. Stuff that matters.
Re:range.js – JavaScript's missing range function. by thirit on Thursday December 20, 2012 @04:30PM (#4950153)
well, why not simply:

Number.prototype.to = function(to){r=[]; for(var i=this+0; i<=to; i++){ r.push(i)} return r;}

1..to(5) //[1,2,3,4,5]