how we generate a random number only for one time in javascript code example
Example: javascript get random integer in given range
const randomInteger = (min, max) => Math.floor(Math.random() * (max - min + 1)) + min;
const randomInteger = (min, max) => Math.floor(Math.random() * (max - min + 1)) + min;