Welcome to the Treehouse Community
Looking to learn something new?
Terry Day1,454 Points
I was thinking about the shout app that was made
Wouldn't it be possible to also do this like this to get the same result in 3 lines instead of 4 or would it be considered poor code?
var stringToShout = prompt("What would you like to shout?"); stringToShout += "!"; alert(stringToShout.toUpperCase());