Strings In Depth1 / 18
Up next

Case and trimming

const raw = "  Hello World  ";
console.log(raw.trim());
console.log(raw.trim().toLowerCase());
console.log("abc".toUpperCase());
What you're solving

toUpperCase, toLowerCase, trim