Skip to content

Commit aa800a0

Browse files
author
Andrey Shevkalyuk
authored
Update article.md
1 parent f03cbf9 commit aa800a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/03-closure/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ function f() {
593593
return g;
594594
}
595595

596-
let g = f(); // while g is alive
596+
let g = f(); // пока g существует,
597597
// соответствующее лексическое окружение существует
598598

599599
g = null; // ...а теперь память очищается

0 commit comments

Comments
 (0)