Class JS5Array

    • Constructor Detail

      • JS5Array

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

        public JS5Array​(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.
      • JS5Array

        public JS5Array​(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.
    • Method Detail

      • isArray

        public static JSBoolean isArray​(JS5Object o)
        function isArray(o) test whether argument is an array.
        Parameters:
        o - object to test.
        Since:
        Standard ECMA-262 5th. Edition
        See Also:
        Array