Hello from the north!
I've been enjoying learning JavaScript and have made it through most of my course. But, I've gotten a little stuck on the issues of returning responses from asyc calls.
Can anyone help me figure this out?
Thanks!
Hello from the north!
I've been enjoying learning JavaScript and have made it through most of my course. But, I've gotten a little stuck on the issues of returning responses from asyc calls.
Can anyone help me figure this out?
Thanks!
For further actions, you may consider blocking this person and/or reporting abuse
Hiredeveloper -
11 -
Future Skills Academy -
Dorian Sabitov -
Top comments (1)
Writing synchronous code, you can retrieve the response of a synchronous call as such:
If
function1
is a Promise, one could rephrase the above as