Skip to content
Permalink
Browse files

Typo: insert omitted 'function' keyword

  • Loading branch information
bmusin committed Mar 25, 2020
1 parent f6e1e05 commit 7dec66e0f74118c11a0af587d5714e10c62d5852
Showing with 1 addition and 1 deletion.
  1. +1 −1 scope-closures/ch7.md
@@ -153,7 +153,7 @@ Now let's examine an example where the closed-over variable is updated:
function makeCounter() {
var count = 0;
return getCurrent(){
return function getCurrent() {
count = count + 1;
return count;
};

0 comments on commit 7dec66e

Please sign in to comment.
You can’t perform that action at this time.