Promises Flashcards
1
Q
asynchronous operation
A
is one that allows the computer to “move on” to other tasks while waiting for the asynchronous operation to complete. Asynchronous programming means that time-consuming operations don’t have to bring everything else in our programs to a halt.
2
Q
How does JS handle asynchronous operation?
A
JavaScript handles asynchronicity using the Promise object, introduced with ES6