- Notifications
You must be signed in to change notification settings - Fork3.9k
Closed
Description
Hi, I'm translatinghttp://javascript.info/async-await.
Ifawait
gets a non-promise object with.then
, it calls that method providingnative functionsresolve
,reject
as arguments. Thenawait
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