Talent500 Interview Question

coding: write a function to reverse a number in js