Last active
February 28, 2018 10:58
-
-
Save SaschaHeyer/b7810f5900290fce98c5da87bd4d7dc5 to your computer and use it in GitHub Desktop.
blockscoping.js
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 beerId = 10; | |
| { | |
| let beerId = 42; | |
| } | |
| console.log(beerId); | |
| // result 12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment