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
													
											
												
												- 재귀함수
 - 리커젼
 - var
 - flex기본
 - 메모이제이션
 - 기초공부
 - appendChild
 - node.js
 - AWS기초
 - Big-O notation
 - 코드스테이츠
 - scope
 - JavaScript
 - APPEND
 - css기초
 - 클로저
 - 생활코딩
 - prototype
 - CSS
 - AWS
 - 원본과 복사본
 - IT
 - let
 - 스코프
 - complexity
 - AWS조사
 - node.js설치
 - vscode
 - 인터프리터
 - 개발툴
 
													Archives
													
											
												
												- Today
 
- Total
 
목록var (1)
Jveloper
			
			
				Scope
				
	
	
               
           
					
					
					
					
					
					
						
					
				scope에서 짚고넘어가야 될 녀석들 ● lexical scope / dynamic scope ● local scope / global scope ● block level / function level ● 호이스팅 - lexical scope / dynamic scope lexical(static) scope : 유효범위가 코드를 작성될 때 결정됨 -> 자바스크립트에서는 함수가 선언되는 동시에 자신만의 scope를 가짐 dynamic scope : 유효범위가 실행 순서에 의해 결정됨 * 유효범위란? 변수(선언)와 그 값(할당)이 어디서부터 어디까지 접근이 가능한지를 판단하는 범위 var scope; // 선언입니다. scope = '할당입니다'; // 할당입니다. console.log(scope) // ..
				JavaScript
				
				2019. 4. 23. 19:10