27. Reverse an Integer
Lesson 28 of 31 in Coddy's 30 Days of Logic Building in Javascript course.
Challenge
EasyWrite a function that reverses the digits of an integer.
- Input:
<strong>123</strong> - Expected Output:
<strong>321</strong>
Try it yourself
function reverseInteger(num) {
// write your code below
}All lessons in 30 Days of Logic Building in Javascript
1Introduction
What is here for you?