clear

fun clear()(source)

The clear() method of the SVGTransformList interface clears all existing current items from the list, with the result being an empty list.

MDN Reference