valueAsString

The valueAsString property of the SVGLength interface represents the 's value as a string, in the units expressed by unitType.

MDN Reference