Created
March 23, 2018 20:02
-
-
Save matteocargnelutti/67e2bcbb982a80e652d685644227e338 to your computer and use it in GitHub Desktop.
JS const article #3
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 foo = 12; | |
| const bar = foo; | |
| console.log(bar); // 12 | |
| foo = 13; | |
| console.log(bar); // 12, our const "bar" hasn't changed ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment