KAYAK interview question

Reverse a number in JS without using a string method.