O'Reilly logo

JavaScript Promises Essentials by Rami Sarieddine

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

Browser support and compatibility

JavaScript is tightly coupled with browsers and the same applies to promises because promises are not a standard in the previous version of ECMAScript and will be part of the new ECMAScript 6 release; they won't be supported across all the browsers. Moreover, promises can be implemented and we will witness several libraries offering promise-like features or exposing promise capabilities. In the remaining portion of this chapter, we will cover these two points that are essential when it comes to working with promises.

Checking the browser compatibility

As with any client-side technology, JavaScript has expressly been developed for use in a web browser in conjunction with HTML pages. It uses the browser to do the ...

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