//Instead of: var welcomeMessage = 'Hello ' + (username ? username : 'guest'); //Can use: var welcomeMessage = 'Hello ' + (username || 'guest');