Skip to content

Commit 4594d12

Browse files
update comment on sample code
1 parent df7800a commit 4594d12

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)