Réponse

halts the execution of a function until a given promise is no longer pending

Colonne
Explication

It’s an operator used only inside an async function that halts the execution of a function until a given promise is no longer pending and returns the resolved value of the promise.

Question

What purpose does the await keyword serve?

Thématique