compter l'intervalle aléatoire

// This will not stop so control it...

const random = setInterval(randomCounter);

function randomCounter() {
  setInterval(50);
  const t = new Date();
  const m = t.getMonth() + 1;
  const d = t.getDay();
  const y = t.getMilliseconds() * 10;
  const mins = t.getMinutes() * 5;
  console.log((y * mins) / 50);
}
Infy Loop