variable shadowing 1 [자바스크립트] scope chain 과 variable shadowing에 대해 이번 포스트에서는 자바스크립트가 가지고 있는 딥한 특징 variable shadowing(변수 가려짐?)에 대해 알아보겠습니다. 위키피디아의 문서를 보면 아래와 같이 언급되어있습니다. In computer programming, variable shadowing occurs when a variable declared within a certain scope (decision block, method, or inner class) has the same name as a variable declared in an outer scope. At the level of identifiers (names, rather than variables), this is known as name masking. This.. 2020. 11. 11. 이전 1 다음