JS
challenger
Home
JavaScript Basics
strings
Convert to Uppercase
Convert to Uppercase
Assign the uppercase version of the string
str
to the variable
upperCaseStr
.
Premium
reset
function greet(name) { return `Hello, ${name}!`; } console.log(greet("Erik"));
JavaScript
Run Code
Console