Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3
Looks fine to me! Throwing away errors and not handling them might be bad practice but it depends. Mixing async/await and promise notation is ok if it is convenient though.
24th Jun 2019, 1:31 PM
Schindlabua
Schindlabua - avatar