The replaceItem() method of the SVGPointList interface replaces a DOMPoint in the list.
replaceItem()
MDN Reference