← Back to JavaScript exercises
10. Reverse a Number
Result appears here
output.textContent="12345".split("").reverse().join("");