js파일을 생성했는데 뭔가 이상하다.............ㅜ_ㅜ
혼자 Settings을 이것저것 뒤적여본 결과....
File -> Settings -> Editor -> File Types -> JavaScript에 들어가봤는데
File name patterns에 *.cjs만 들어가 있었다.
*.js를 추가해주니 바로 해결되었다.
해결 완료~~~~
'javascript' 카테고리의 다른 글
ES6 import declarations are not supported by current JavaScript version 해결 (0) | 2021.04.07 |
---|---|
모듈 import와 export (0) | 2021.03.29 |
getElementById와 querySelector의 차이점 (0) | 2021.03.25 |
var,const,let 차이점 (0) | 2020.11.01 |
14. 객체관련키워드 (0) | 2020.07.27 |
댓글