https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getSimpleDuration
SVGAnimationElement: getSimpleDuration() method - Web APIs | MDN
The SVGAnimationElement method getSimpleDuration() returns a float representing the number of seconds for the simple duration for this animation.
web apismethodmdn