title: Does javascript have a range function?
body: <p>Hi all i was just wondering if JS has a range function which will return numbers defined in an offset. I'm not using jQuery, so pure JS would be the best solution for me.</p>
  
  <p>I want to get a set of numbers in sets of 5 i.e.</p>
  
  <ol>
  <li>First set of numbers - 0 - 4</li>
  <li>Second set of numbers - 5 - 10 </li>
  <li>Third set of numbers - 11 - 16</li>
  <li>And so on and so on</li>
  </ol>
  
  <p>I was wondering if this is possible at all? I was also looking at the underscore library to see if there's any handy methods but i couldn't find anything related to this at all.</p>