Typically, reversing an array is a pretty straightforward task even for novice programmers. But not when a crowd of angry zombies scratching your door, looking for a fresh brains. In this case even skilled ninja-geek probably prefers to quickly push his code on github to have enough time to find a chainsaw. So there's two obstacles:
Your code needs to be as short as possible, in fact not longer than 28 characters
Because you are scared and stressed you have forgotten how to use the standard reverse() method
Input: an array containing data of any types.
["pineapple", "pumpkin", "pear", "peach"]
Want to propose a challenge idea for a future post? Email firstname.lastname@example.org with your suggestions!