# ArrayReverse()

Returns a new array, with all the elements reversed

```
ArrayReverse( array=array );
```

**Returns:** array

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| array | array | Yes | the array to reverse |  |

# Examples

### Reverse the order of an array

```cfml
numbers = [ 1, 2, 3, 4 ];

arrayReverse(numbers);
Dump( numbers );  //[4,3,2,1]

//member function
reversed = numbers.reverse();
Dump( reversed );
```







# Categories

[Arrays](../../categories/array.md)

# See Also

[array.reverse()](../objects/array/reverse.md)