Answer:
randomInt(min: number, max: number): number {
return Math.floor(Math.random() * (max - min + 1) + min);
}
Step-by-step explanation:
use randomInt(0,10) to get a number, with 0 and 10 inclusive.
4.4m questions
5.6m answers