title: How to generate range with MIN MAX using Array.from
body: <p>Using  <code>Array.from</code> , I can create range from <code>0</code> to <code>N-1</code> as following : </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var N=6;
  log( Array.from({length:N},(v,k)=&gt;k) )</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script&gt;var log=(m)=&gt;console.log(m)&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This generate <code>[0,1,2,...,N-1]</code></p>
  
  <p>My question is how to generate a range with <code>Min</code> &amp; <code>Max</code> bounds in general using <strong>Array.from</strong> not something elese (Not restrict to <code>0</code> as 1st element of range ) ? </p>