The AnimationTimeline interface of the Web Animations API represents the timeline of an animation.
AnimationTimeline
MDN Reference
The currentTime read-only property of the Web Animations API's AnimationTimeline interface returns the timeline's current time in milliseconds, or null if the timeline is inactive.
currentTime
null