300x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- eslint 자동화
- 이슈번호자동화
- 프로젝트
- chromatic
- react
- 우아한테크코스
- vscode
- 성능 베이스캠프
- JavaScript
- prettier 자동화
- Husky
- CSS
- webpack
- import정리
- 우테코
- git hooks
- 클린코드
- string-width
- 클로저
- IDL attributes
- 자바스크립트
- 크로마틱
- css instead of js
- 유틸함수
- 카페인
- 프로젝트 카페인
- eslint에러 자동fix
- importOrder
- 협업
- storybook
Archives
- Today
- Total
목록클로저 (1)
FEB:)DAIN

- 클로저를 설명하기에 앞서, 클로저는 하나의 어떤 것을 정의하는 개념이 아니기 때문에 사람마다 말하는 클로저가 다를 수 있다. 1. 함수의 주변 상태(렉시컬 환경)에 대한 참조를 같이 가지고 있는 함수는 클로저다. 즉 (new Function을 제외한) 모든 함수가 클로저라고 할 수 있다. (= 자바스크립트의 클로저) A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment). In other words, a closure gives you access to an outer function's scope from an..
코딩/공부
2023. 10. 19. 02:38