3 ms·
Is that like a reverse codegolf? setInterval(() => console.log(Math.ceil(Date.now()/1000)), 1000);0 This could be 0.999s late, but seems good enough for REPL
by lakpan 3y ago
Is that like a reverse codegolf?
setInterval(() => console.log(Math.ceil(Date.now()/1000)), 1000);0
This could be 0.999s late, but seems good enough for REPL usage
- benatkin 3y agoIt doesn't just handle the gap but when the first one sends. Suit yourself, though.