Question d’entretien chez KAYAK

Reverse a number in JS without using a string method.