Appearance
Gets the number of nodes actually contained in the LinkedList<T>.
LinkedList<T>
number
const list = new LinkedList<number>([1, 2, 3, 4]); list.length // => 4
Retrieving the value of this property is an O(1) operation.