text: const MIN = 0;
  const MAX = 36;
  var testNumber = 15;
  var i = 1;
  
  while (MAX) {
      let randomValue = Math.floor(Math.random() * (MAX - MIN)) + MIN;
  
      if (randomValue == testNumber) {
          // stops the loop, and goes to whatever comes next
          break;
      }
  
      console.log("Round " + i + ": " + randomValue);
      i++;
  }
  
  console.log("The script went " + i + " rounds before finding " + testNumber + ".");
  