insertItemBefore

external fun insertItemBefore(newItem: SVGLength, index: Int): SVGLength(source)

The insertItemBefore() method of the SVGLengthList interface inserts a new item into the list at the specified position. The first item is indexed 0. The inserted item is the item itself and not a copy.

MDN Reference