index.html>
type="module" 로 명시해줘야 함.
<script type="module" src="src/index.js"></script>
'TIL > Javascript' 카테고리의 다른 글
React.js | TypeError: Cannot read property ‘replace’ of undefined (0) | 2021.01.15 |
---|---|
[33 Concepts JS] Call Stack (0) | 2020.12.11 |
[모던자바스크립트 deep dive] 디버깅, code runner (2) | 2020.12.11 |
JS-이벤트 루프, 호이스팅, 클로저 (0) | 2020.12.10 |
[Javascript] 함수도 객체다 (0) | 2020.12.03 |
댓글