Saleo Interview Question

Reverse an Object using javascript