Lexical scope
is the ability for a function scope to access variables from the parent scope. We call the child function to be lexically bound by that of the parent function. The diagram below outlines the supposed hierarchy that the lexical scope maintains in JavaSript.
lexical scope는 부모 scope으로부터의 변수에 접근할 수 있는 함수 scope에 대한 기술이다.