Fractal Interview Question

Polyfill for reverse() method in JavaScript