728x90
반응형
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
// non-tdz.js | |
var vv = 10; | |
console.log(typeof a); // undefined | |
if(vv){ | |
let a = 10; // If 'var a = 10;', then what will gonna do? | |
} |
728x90
반응형
'Javascript' 카테고리의 다른 글
JSFiddle 에서 console 사용하기 (0) | 2018.11.22 |
---|---|
TDZ (0) | 2018.11.22 |
closure (0) | 2018.11.22 |
fibonacci.js (0) | 2018.11.08 |
iteration from 'Learning Javascript' (0) | 2018.11.08 |