-
-
Save codecademydev/e7ab03a6503e039604d4c180d2d1460e to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let userName = 'Jane'; | |
userName ? console.log(`Hello, ${userName}!`) : console.log('Hello, Anonymous!'); | |
const userQuestion ='Will I be rich?'; | |
if(userName ='true') {console.log(`Anonymous asked: ${userQuestion}`);} | |
else {console.log(`${userName} asked: ${userQuestion}`);} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment