Change to Upper Case
It's time to get angry and yell at people on the Internet! Just joking ;) Instead of holding down the Shift key or using Caps Lock, let's try to code something to do it. We can use the toUpperCase() function to do this. Take the string message and return an upper case version of it. Update the message variable with the upper case version of it.
message.toUpperCase()
=> 'I USED TO BE LOWERCASE BUT NOW I AM UPPERCASE'
No comments:
Post a Comment