function generateRandomNumber() {
  randomNumber = Math.random() * (tabsArray.length - 1);
  index = parseInt(randomNumber);
  indexArray.splice(indexArray.indexOf(index), 1);
  return index;
}
// Generates a random number and the calculator fills the corresponding card

Generates a random number and the calculator fills the corresponding card
Generates a random number and the calculator fills the corresponding card
function generateRandomNumber() {
  randomNumber = Math.random() * (tabsArray.length - 1);
  index = parseInt(randomNumber);
  indexArray.splice(indexArray.indexOf(index), 1);
  return index;
}
function generateRandomNumber ( ) { randomNumber = Math . random ( ) * ( tabsArray . length - 1 ) ; index = parseInt ( randomNumber ) ; indexArray . splice ( indexArray . indexOf ( index ) , 1 ) ; return index ; }
Generates a random number and the calculator fills the corresponding card
Generates a random number and the calculator fills the corresponding card