The clear() method of the SVGLengthList interface clears all existing items from the list, with the result being an empty list.
clear()None.
None (undefined).
NoModificationAllowedError DOMExceptionThrown when the list is read-only.
See SVGLengthList for a complete example.