Problem

Return reversed copy.

Examples

  • reverseArray([1, 2, 3]) -> [3, 2, 1]
Compile and test (Ctrl+Enter)