Skip to content

Commit

Permalink
Update files/zh-cn/web/javascript/closures/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: A1lo <[email protected]>
  • Loading branch information
familyboat and yin1999 authored Oct 22, 2024
1 parent fc92990 commit 8a797d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/zh-cn/web/javascript/closures/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const counter = (function () {
};
})();

console.log(counter.value()); // 0.
console.log(counter.value()); // 0

counter.increment();
counter.increment();
Expand Down

0 comments on commit 8a797d5

Please sign in to comment.