Last updated 5 years ago
Was this helpful?
OXN-array array-reverse(OXN-array node-set)
Given a JSON array in , array-reverse() returns a new array in reverse order.
array-reverse()
json-stringify(array-reverse(json-parse('[2,1,3]'))) ➡ [3,1,2]
json-stringify(array-reverse(json-parse('[2,1,3]')))
[3,1,2]