Layout Options

  • Fixed Header
    Makes the header top fixed, always visible!
  • Fixed Sidebar
    Makes the sidebar left fixed, always visible!
Array Length

Description

The length property sets or returns the number of elements in an array.

This property has the form:

array.length

Examples

The following example shows the basic use of this tag.

<script>
var cols = [ "Red", "Green", "Blue" ];
document.write(cols.length);
</script>

This produces the following result:

Browser Support

Firefox IE Chrome Opera Safari