Saleo interview question

Reverse an Object using javascript