JSFiddle - React, Tailwind, and code Playground

HTML

<svg>
    <!-- the trailing comma doesn't matter much since the spec says render up to the point of error, which means there's no visible difference to not having it there, all browsers behave the same. -->
    <polyline points="10 10,10 40,20 40,20 10,"/>
    
    <!-- for list-of-coordinates and list-of-numbers, the spec definition of <list-of-Ts> disallows the trailing comma. However, all browsers except Firefox handle these cases by accepting this syntax as if there was no trailing comma. -->
    <text x="10" y="60, 80, 120, ">ABC</text>
    <text x="80" y="40" rotate="10, 20, 50, ">DEF</text>
</svg>

CSS

polyline { stroke: #000; fill: none }