Closed
Description
Hi, I'm translating http://javascript.info/async-await.
If await
gets a non-promise object with .then
, it calls that method providing native functions resolve
, reject
as arguments. Then await
waits until one of them is called (in the example above it happens in the line (*)
) and then proceeds with the result.
I wonder what native functions mean here. alert and setTimeout? or resolve and reject?
Metadata
Metadata
Assignees
Labels
No labels