Layout Options

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

Description

The constructor property returns the function that created the object's prototype.

This property has the form:

array.constructor

Return Value

A Function object that created the array object's prototype

Examples

The following example shows the basic use of this tag.

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

This produces the following result:

function Array() { [native code] }

Browser Support

Firefox IE Chrome Opera Safari