Hello everyone.
Who can check the correctness of writing the code.
A link to the example in my glitch.
A link to the actual task.
Thank you all very much.
Hello everyone.
Who can check the correctness of writing the code.
A link to the example in my glitch.
A link to the actual task.
Thank you all very much.
Hi @petrushya
All your versions are correct. Congratulations!
Which version do you like most, personally?
See you,
Michael
Hi @mikoMK.
Of course, the shorter and more readable version with a promise chain is the most attractive, but the “async and await” version also deserves attention in terms of readability.
Good bye.
Personally, I like the async/await version best. It feels like I’m working with “normal” sync code.
It’s cool that there are multiple versions and everyone can use what fits them best.