Skip to content

Instantly share code, notes, and snippets.

View listenrightmeow's full-sized avatar
🦍

Mike Dyer listenrightmeow

🦍
View GitHub Profile
x = setInterval(function(){
--w >= 0 ? console.log([w / 86400, (w / 3600) % 24, (w / 60) % 60, w % 60].map(function(n){
return n < 10 ? '0' + ~~n : ~~n
}).join(':')) : clearInterval(x);
}, [1e3, w = 10][0]);