I am just curious about the behavior of Math.random(). My question is, why do you need to add 1? For example:
Math.floor(Math.random() * 5 + 1);
Be the same thing as:
Math.floor(Math.random() * 6);
I am trying to understand the practicality behind adding one to include 5 as opposed to just multiplying by 6.