Modifica

Share via


ArrayPrototype.reverse(Object) Method

Definition

Reverses the elements of the specified array.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static System::Object ^ reverse(System::Object ^ thisob);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Array_reverse)]
public static object reverse (object thisob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Array_reverse)>]
static member reverse : obj -> obj
Public Shared Function reverse (thisob As Object) As Object

Parameters

thisob
Object

The object that this method is acting upon.

Returns

thisob.

Attributes

Applies to

See also