Math.floor(Math.random()) what does +1 actually do?
<p>When you have <code>Math.floor(Math.random()*10)+1</code> its supposed to pick a random number between 1-10 from what I understand. </p>

<p>However, when I change the <code>+1</code> to any number higher or lower then <code>1</code> I get the same result. Why is this? What does the <code>+1</code> mean exactly?</p>
