The Library Whisperer
Easy+15 XP
Mission Briefing
The Ancient Library requires absolute silence. A rogue wizard keeps submitting records in all caps, which is far too loud! You must build a filter to hush the text.
The Concept: Standardizing Text
The .toLowerCase() method is incredibly common in professional programming for standardizing user input. It forces all characters to lowercase, ensuring that "Admin", "ADMIN", and "admin" are all treated the exact same way during comparisons.
The Objective
Your function receives a string input.
- Convert the entire string to lowercase.
- Return the smoothed-out, lowercase string.
01EXAMPLE 1
Input
input = "WELCOME"Output
"welcome"Constraints
- Return the transformed string.
FundamentalsStrings
JavaScriptSystem handles I/O — write your function only
Loading...
3 Hidden
Input Arguments
input"HELLO"
Expected Output
hello
Click RUN to test your solution