Introduction

Get introduced to asynchronous programming and the benefits of promises over callbacks.

Asynchronous programming

Asynchronous programmingAsynchronousProgramming is a way of life in JavaScript. Unless a method returns instantaneously, you should never call it with the intention of waiting for a response.

Most functions in JavaScript libraries and frameworks are asynchronous. Although making a call and getting the results later ...