O'Reilly logo

Async JavaScript by Trevor Burnham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Who Is This Book For?

This book is aimed at intermediate JavaScripters. You should know how variables are scoped. Keywords like typeof, arguments, and this shouldn’t faze you. Perhaps most importantly, you should understand that

 
func(​function​(arg) { ​return​ next(arg); });

is just a needlessly verbose way of writing

 
func(next);

except in rare cases. (See Reg Braithwaite’s excellent article “Captain Obvious on JavaScript” for more examples of small but important functional idioms.)[5]

What you don’t need to know is how asynchronous events are scheduled in JavaScript. We’ll cover that in the next chapter.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required