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.

  1. Convert the entire string to lowercase.
  2. Return the smoothed-out, lowercase string.

01EXAMPLE 1

Inputinput = "WELCOME"
Output"welcome"

Constraints

  • Return the transformed string.
FundamentalsStrings
JavaScript
Loading...
3 Hidden

Input Arguments

input"HELLO"

Expected Output

hello

Click RUN to test your solution