reverse

Reverses the input.

Examples

reverse("hello") // "olleh"
reverse([1,2,3]) // [3,2,1]

Last updated