Im a bit further than the introduction but have still encountered the need for Math.Random, and while I was using it I started to get confused.
if Math.floor(Math.Random()) results in either 0 or 1,
then wouldn’t Math.floor(Math.Random *3)) give you either 0 or 3?
[0 x 3 = 0 and 1 x 3 = 3]
I know that what you actually get is a range between 0 and and 3 but how?