The replaceItem() method of the SVGLengthList interface replaces an existing item in the list with a new item.
replaceItem()
MDN Reference