JavaScript property: length
[this page | pdf | back links]
The length property (when applied to JavaScript
object) returns
the length of the object.
It
has the following syntax:
object.length
Many elements of
JavaScript are objects and so can have this property applied to them. For
example, applying it to Boolean objects will return 1.
NAVIGATION LINKS
Contents | Prev | Next | JavaScript Objects