0

PLEASE HOW DO I fix one character to make sure that myMessage is printed out to the console in uppercase letters.

function printUppercaseMessage (message) { console.log(message.toUpperCase()); } get myMessage = `I'm on a path to becoming a JS developer!`; printUppercaseMessage(myMessage);

18th Feb 2021, 4:52 PM
ohwo oghenekaro
ohwo oghenekaro - avatar
3 Answers
+ 2
ohwo oghenekaro , change "get" to "let" and then everything works.
18th Feb 2021, 5:01 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 1
g -> l ('get' should be 'let' before myMessage declaration)
18th Feb 2021, 5:02 PM
visph
visph - avatar
+ 1
thanks guys
18th Feb 2021, 6:58 PM
ohwo oghenekaro
ohwo oghenekaro - avatar