Friday, February 22, 2013

How to write better asynchronous code in JavaScript (link)

One of JavaScript’s strengths is how it handles asynchronous (async for short) code. Rather than blocking the thread, async code gets pushed to an event queue that fires after all other code executes. It can, however, be difficult for beginners to follow async code. I’ll help clear up any confusion you might have in this article.

Read more...