Just a hobbyist programmer with an eye on new technologies. Currently helping Quasar and NestJS Frameworks, because....well.....because they're awesome! :-)
Correct me if I am wrong, but the console log with async/ await is only blocked, because the data variable is in it. If you had of done the same above with the .then example, that console log would be blocked too.
Or put another way, take out the data variable and the async/ await example won't block either.
Scott
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Correct me if I am wrong, but the console log with async/ await is only blocked, because the
data
variable is in it. If you had of done the same above with the .then example, that console log would be blocked too.Or put another way, take out the
data
variable and the async/ await example won't block either.Scott