> For the complete documentation index, see [llms.txt](https://sevenval.gitbook.io/flat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sevenval.gitbook.io/flat/reference/functions/array-reverse.md).

# array-reverse()

```
OXN-array array-reverse(OXN-array node-set)
```

Given a JSON array in [Object XML Notation](/flat/reference/templating/oxn.md), `array-reverse()` returns a new array in reverse order.

## Example

`json-stringify(array-reverse(json-parse('[2,1,3]')))` ➡ `[3,1,2]`
