JS – it dosen't count zero second in a timer – Javascript
let second = 2 // Make more realistic instead of 60 let minute = 1 let mytimer = setInterval(function(){ let timer = second-- console.log(minute + ':' + timer) if(second==0){ second = 59 minute-- } if(minute==0){ clearInterval(mytimer); } },10) As you…