Hacker News new | ask | show | jobs
by devhammed 3048 days ago
Why @taf2 ? setTimeout is asynchronous, code after it will be executed before the function...requestAnimationFrame is for animations.