그램을 사용한다면 스트릭트 모드가 막아주는 문제를 대부분 막아 주지만, 두 번 체크해서 나
쁠 것은 전혀 없습니다.
스트릭트 모드에 대해 더 자세히 알고 싶다면
MDN
문서
3
를 보십시오.
7.12
요약
어떤 프로그래밍 언어에서든 스코프는 반드시 이해해야 할 중요한 부분입니다. 자바스크립트
는
let
을 도입하면서 대부분의 최신 언어와 비슷하게 동작하게 됐습니다. 자바스크립트가 클
로저를 지원한 첫 번째 언어는 아니지만, 실무에서
널리 쓰이는
언어 중에서는 매우 빨리 지원
한 편입니다. 자바스크립트 개발자들은 클로저를 아주 유용하게 사용하고 있으며, 클로저는 최
신 자바스크립트 개발에서 중요한 위치를 차지하고 있습니다.
3
https
://
developer
.
mozilla
.
org
/
en
-
US
/
docs
/
Web
/
JavaScript
/
Reference
/
Strict
_
mode
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.