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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does JS handle asynchronous operation?

A

JavaScript handles asynchronicity using the Promise object, introduced with ES6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly