/* To generate a random number between a and b keep in mind this formula: a-> minimum value b->maximum value */ let randomNumber = a+(b-a)*Math.random(); /*this gives you any random number between a and b */