Source Code:
Start Animation
Stop But Complete All Animations Immediately
Result:
W3Schools.com
- Try it yourself