-
-
Save codecademydev/f94f0240f82cbfa194a521bbccc71b78 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 isLocked = false; | |
isLocked ? console.log('You will need a key to open the door.') : console.log('You will not need a key to open the door.'); | |
let isCorrect = true; | |
isCorrect ? console.log('Correct!') : console.log('Incorrect!'); | |
let favoritePhrase = 'Love That!'; | |
favoritePhrase === 'Love That!' ? console.log('I love that!') : console.log("I don't love that!"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment