The spacing read-only property of the SVGTextPathElement interface reflects the spacing attribute of the given element. It takes one of the TEXTPATH_SPACINGTYPE_* constants defined on this interface.
spacing
MDN Reference