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
Mike Johnson -
Sharon428931 -
Rad Code -
David Lee | Developer -
            This community will be migrating to a dedicated subforem in the near future. We are excited to announce a new take on the CodeNewbie Community soon! Email support@forem.com if you have any questions.
Top comments (1)
Writing synchronous code, you can retrieve the response of a synchronous call as such:
If
function1is a Promise, one could rephrase the above as