The SVGAnimatedString interface represents string attributes which can be animated from each SVG declaration.
SVGAnimatedString
MDN Reference
The animVal read-only property of the SVGAnimatedString interface contains the same value as the SVGAnimatedString.baseVal property.
animVal
BaseVal gets or sets the base value of the given attribute before any animations are applied.