Created
August 3, 2019 15:20
-
-
Save ysm-dev/f786510fd174dcb821b6c04b4c2629a6 to your computer and use it in GitHub Desktop.
Markdium-๐ป ํ๋ก ํธ์๋ ๋ฉด์ ์ง๋ฌธ - JS #4
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
| console.log(foo) // undefined | |
| var foo = 'foo' | |
| console.log(baz); // ReferenceError: can't access lexical declaration 'baz' before initialization | |
| let baz = 'baz'; | |
| console.log(bar); // ReferenceError: can't access lexical declaration 'bar' before initialization | |
| const bar = 'bar' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment