JS escreve uma função que retornará um número inteiro aleatório entre 10 e 100

function randomIntFromInterval(min, max) { // min and max included 
  return Math.floor(Math.random() * (max - min + 1) + min)
}

const rndInt = randomIntFromInterval(1, 6)
console.log(rndInt)
 Run code snippetHide results
Vivacious Vicuña