title: Min Max range JavaScript
body: <p>Please, could anyone explain to me why we need to define a min and a max range using the code(or formula) below?</p>
  
  <pre><code>Math.floor(Math.random() * (max - min + 1)) + min
  </code></pre>
  
  <p>More explicitly, why substracting min + 1 from max to add min after the parenthisis.</p>
  
  <p>Thanks in advance.</p>