getSimpleDuration

The SVGAnimationElement method getSimpleDuration() returns a float representing the number of seconds for the simple duration for this animation.

MDN Reference