In August I delivered a presentation called “Mastering Asynchronous Flow Control in JavaScript” at devLink 2014. To illustratehow tricky mixing asynchronous and synchronous code in JavaScript can be, I gave the following example:
I claimed, incorrectly, that the error thrown in the callback would cause unintendedconsequences when it re-entered the catch block (well, beyond just crashing the program).
I have since had a chance to re-visit this code and realized that this example isnotrepresen...
Published on October 29, 2014 11:31