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 -
Sarah Dye -
Vitarag -
Parth -
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