Skip to content

Commit 4d17a15

Browse files
authored
Merge pull request #1007 from Violet-Bora-Lee/patch-3
update comment on sample code
2 parents df7800a + 4594d12 commit 4d17a15

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
@@ -248,7 +248,7 @@ function makeCounter() {
248248
let count = 0;
249249

250250
return function() {
251-
return count++; // has access to the outer counter
251+
return count++; // has access to the outer "count"
252252
};
253253
}
254254

0 commit comments

Comments
 (0)