rem’s avatarrem’s Twitter Archive—№ 42,222

  1. Synchronous sleep in JS: function sleep(ms,t) {t=+new Date;while(+new Date-ms<t){}} Fixing JavaScript one fuckup at a time.