Challenges easy Reverse a String (JavaScript) 50 XP
Javascript Challenge

Reverse a String (JavaScript)

Read one line of input and print it reversed. (Use readLine() to read and console.log() to print.)

Example 1

Input
hello
Expected Output
olleh
solution.js
Run the examples to test your code, then Submit to run all hidden tests.
🚀

Create a free account

Sign up free to run and submit solutions, earn points, and unlock badges.

Create Free Account

Already have one? Log in