I am trying to make a sequence of numbers that starts with number 10 and grows like 10...11...12...13 etc every two seconds. But lets say that I want it to stop when it reaches 100, how do i do it. So far I have this.Any ideas?
function conteo(num){
setInterval(function(){document.write(num++ + "..."); }, 2000);
}conteo(10)