initialize

fun initialize(newItem: String): String(source)

The initialize() method of the SVGStringList interface clears all existing items from the list and re-initializes the list to hold the single item specified by the parameter.

MDN Reference