O'Reilly logo

JavaScript Frameworks for Modern Web Dev by Nicholas Cloud, Tim Ambler

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

CHAPTER 14

image

Q

I’m an idea-man. Hard work isn’t my forte.

—Q, Star Trek: Voyager

JavaScript is an asynchronous language. Developers can instruct the JavaScript runtime, whether in the browser or on the server, to “schedule” code to be run at a future point in time. This feature is often used to delay the start of a CPU-intensive or long-running operation, giving an application time to finish its current tasks before moving on to more labor-intensive ones. This feature is so powerful that traditionally synchronous languages like Java, C#, PHP, and Ruby have followed suit and adopted it. Some languages, like C#, have implemented the asynchronous ...

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