Assessment wanted for Sequencing animations, please!

Promise version of callback hell
Chaining promises
Async await

Hi @michellaneous

Great work! All three versions are correct. :+1:
In version 3 you don’t even have to assign the values to variables. Just

await alice1.animate(aliceTumbling, aliceTiming).finished;

and so on is fine.

Which version do you like best?

Have a nice day,
Michael

1 Like

Yes! I like your solution better🤯 it relies on the order of execution in an explicit way, whereas in mine, I actually had to stop and reason about why it worked with variable declarations :raised_hands:t2:

Thanks, but I rather meant of the the three versions you have created for this exercise. :grin: