my question: in the third part( rewrite using async and await), I know that await returns the right result of an asynchronous operation, so I need to find out the resolved state of the promise—Animation.finished. At first, I tried something like
const pro1 = await alice1.animate(aliceTumbling, aliceTiming).finished;
if (pro1===fulfilled){
but clearly it doesn’t work out, so I have to change
Here
I want to thank the comunity for updating the articles in the asynchronous Javascript module
yeah I noticed that because just 4 or 5 days ago, I read the old articles and become quite confused and fruatrated because I can not understand a lot. So I have to google a lot of materials on the topic, but still I have a lot of questions. Finally, I find that there is a updated version on MDN and it is quite suitable for beginners to understand. So I want to thank the community for that
Also, I find out that to understand the MDN articles on promise is onething, and to complete the assignment is another thing, So maybe the best way to learn promise is to write on your own.