Question about JavaScript Math.random() and basic logic
This basically boils down to a limit and it makes sense. Consider the combinations of numbers between 0 and 10 and count the various differences you can make. For example, there is one combination with a difference of 9 — (0, 9). There are 5 with a difference of 5: [0, 5], [1, 6], [2, … Read more