Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

counter random interval

// 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);
}
 
PREVIOUS NEXT
Tagged: #counter #random #interval
ADD COMMENT
Topic
Name
6+7 =