The length property of the SVGLengthList interface returns the number of items in the list. It is an alias of numberOfItems to make SVG lists more array-like.
A non-negative integer that represents the number of items in the list.
See SVGLengthList for a complete example.