Class JSArray

java.lang.Object
org.fife.rsta.ac.js.ecma.api.ecma3.JSArray
All Implemented Interfaces:
JSArrayFunctions, JSObjectFunctions
Direct Known Subclasses:
JS5Array

public abstract class JSArray extends Object implements JSArrayFunctions
Object Array
Since:
Standard ECMA-262 3rd. Edition
  • Field Details

    • length

      public JSNumber length
      property length
      Since:
      Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
      See Also:
    • prototype

      public JSArray prototype
      property prototype
      Since:
      Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
      See Also:
    • constructor

      protected JSFunction constructor
      property constructor
      Since:
      Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
      See Also:
  • Constructor Details

    • JSArray

      public JSArray()
      Object Array()
      Since:
      Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
    • JSArray

      public JSArray(JSNumber size)
      Object Array(size)
      Parameters:
      size - The desired number of elements in the array. The returned value has its length field set to size
      Since:
      Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
    • JSArray

      public JSArray(JSObject element0, JSObject elementN)
      Object Array(element0, ... elementN)
      Parameters:
      element0 - An argument list of two or more values. The length field set to the number of arguments.
      Since:
      Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.