What's wrong ... let res = async fetch(url) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What's wrong ... let res = async fetch(url)

8th Mar 2020, 6:29 AM
Ahmad Belal Mansoori
Ahmad Belal Mansoori - avatar
2 Answers
+ 2
its await fetch(url); and use async in function definition where await resides in
8th Mar 2020, 6:31 AM
Taste
Taste - avatar
+ 1
Thanks 🙏🏻
8th Mar 2020, 12:30 PM
Ahmad Belal Mansoori
Ahmad Belal Mansoori - avatar