Closures do not of themselves create circular references. In our original example, functioninner references outer variables via its [[scope]] property, but neither the referenced variables or function outer references function inner or its local variables.
클로져 그 자체는 순환 참조를 만들지 않습니다. 우리의 원래 예제에서,
inner 함수는 scope 속성을 통해 외부 변수를 참조하지,
참조된 변수 혹은 함수 outer가 inner 함수나 지역 변수를 참조하지 않습니다.
라고 해석했는데 좀 어색해서 알려주떼용
댓글 0