Class JSArray

    • Field Detail

      • length

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

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

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

      • 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.