length

length returns the number of nodes in the collection.

Syntax

collection.length

Examples

1

2

3

4

Internal

item

External

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu