public/subjects/reverser/README.md

458 B

Reverser

Instructions

Create a function named reverse which accepts an array or a string. It should work like Array.reverse(), and of course you cannot use that.

Notions

Code provided

The provided code will be added to your solution, and does not need to be submitted.

Array.prototype.reverse = undefined