HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🐣
프론트엔드 데브코스 3기 교육생
/
😃
나영팀
/
자바스크립트 세미콜론

자바스크립트 세미콜론

발표일
Nov 7, 2022
작성자
신나라
자바스크립트 엔진은 ASI(Automatic Semicolon Insertion) 기능이 있다.
세미콜론을 넣지 않았을 때 자동으로 넣어줌
→ 대부분에선 정확하게 동작 예외사항이 발생할 수 있기 때문에 세미콜론을 넣어주는 것이 좋다
→ 인터프리터 과정을 이해하며 코딩할 경우 세미콜론 없어도 괜찮음
⇒ 그렇다면….?
JavaScript Semicolon: Do You Really Need It? [2022 Guide] - codingem.com
In JavaScript, using semicolon is not required. However, sometimes the lack of semicolon can lead to problems. Learn how to use it right.
JavaScript Semicolon: Do You Really Need It? [2022 Guide] - codingem.com
https://www.codingem.com/javascript-semicolon-usage/
JavaScript Semicolon: Do You Really Need It? [2022 Guide] - codingem.com
A Guide to Enhanced Readability with semi-colons in ES6
The latest flavor of JavaScript has brought more syntactical features than any other. It has also removed (or deprecated) syntax that many JavaScript developers grew up with! Does that mean we completely throw it out? Some developers certainly think so, but I say no~! Even Google's summarized ES6 style guide continues to require semi-colons.
A Guide to Enhanced Readability with semi-colons in ES6
https://ythakker.medium.com/a-practical-style-guide-to-semi-colons-in-es6-c4f63d03a904
A Guide to Enhanced Readability with semi-colons in ES6
Javascript 세미콜론(;) 가이드
https://www.codecademy.com/blog/78 에 글을 번역한 것 입니다. 이것은 moderator Alex J.가 게스트로 올린 게시물입니다. 포럼에서 그를 보게되면 인사하십시오! 언제 세미콜론이 필요합니까? 여기에 편리한 치트시트가 있습니다.. 세미콜론은 같은 줄에 둘 이상의 명령문( statements)이있을 때만 필수입니다. 자바스크립트의 세미콜론은 명령문을 분리하는데 사용되지만, 명령문 다음에 줄바꿈이 있으면(또는 {}에 단하나의 명령문만 있는경우) 생략할 수 있습니다.
http://52.78.22.201/tutorials/translate/javascript-semicolon/
Javascript 세미콜론(;) 가이드
자바스크립트에 세미콜론을 써야 하나요? (Feat: ASI)
자바스크립트에 세미콜론을 써야 하나요? (Feat: ASI)
https://youtu.be/hJjYvVOEO7s
자바스크립트에 세미콜론을 써야 하나요? (Feat: ASI)