How are we supposed to modify elements of an SVG polygon? For example, I make a polygon like this:
var polygon = document.createElementNS('http://www.w3.org/2000/svg','polygon'
ts", "0,0 100,100 200,200");
now what do I do if I want to modify the 2nd point (100,100)? Right now I'm basically reconstructing the whole string again. But can we address "polygon.points" as an array somehow, or is it really just a plain simple string?