🔰await "thenable"
JS ⟩ asynchronous ⟩ await ⟩ thenable
"thenable" objects: those with a .then()
method.
If await gets a "thenable" object, it calls .then() and waits for the resolved value.
Last updated
JS ⟩ asynchronous ⟩ await ⟩ thenable
"thenable" objects: those with a .then()
method.
If await gets a "thenable" object, it calls .then() and waits for the resolved value.
Last updated