IR Framework

Array.demote Method

Moves an element toward the end of the array.
object.demote (index)

Arguments

object
Required. Always the name of an Array object.


index
Required. The index of the element to demote.



Return Value

The Array.demote method does not return a value.

Remarks

The following example illustrates the use of the Array.demote method.

var a = new Array("a","b","c");
a.demote(0);

Console.Writeln(a.toString());		//	returns "b,a,c"


Requirements