Last active
April 9, 2020 03:08
-
-
Save lenoraporter/61275cee20350bcafb9e32f3a71465b5 to your computer and use it in GitHub Desktop.
Let can be redeclared in a different scope
This file contains hidden or 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 ciara = "My husband is Russell Wilson."; | |
let currentYear = 2019; | |
if (currentYear <= 2015 && currentYear >= 2013) { | |
let ciara = "I'm in love with Future." | |
console.log(ciara); | |
} | |
console.log(ciara); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment