JavaScript, through its popularity and recent improvements, is increasingly becoming the web programmer's best friend. And like all best friends, JavaScript keeps its promises. Now that may sound a little strange, but it's true. Most current browsers support what is called the Promise object.
Full article