Created
March 26, 2019 23:51
-
-
Save Chuloo/1e345a3081841fa75d065bdffef14fab to your computer and use it in GitHub Desktop.
Valar no equals
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
// Create two variables with words | |
const word = 'Please'; | |
const greeting = 'Hello'; | |
// Convert the words to lower case | |
const lowercaseWord = word.toLowerCase(); | |
const lowercaseGreeting = greeting.toLowerCase(); | |
// Compare equality and display result | |
console.log(lowercaseWord === lowercaseGreeting); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment