Return the number of child nodes of the body element:
The result could be:
The length property returns the number of nodes in a collection.
A Node object's collection of child nodes is an example of a NodeList object
The length property is supported in all major browsers.
|Return Value:||A Number, representing the number of nodes in the nodelist|
|DOM Version||Core Level 1|
Your message has been sent to W3Schools.