You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: objects/global_footprint.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,6 @@ var myCounter = {
13
13
}
14
14
}
15
15
```
16
-
> ***Note:*** this technique is often used with clusures, to make the internal state immutable from the outside.
16
+
> ***Note:*** this technique is often used with closures, to make the internal state immutable from the outside.
17
17
18
18
The module now takes only one variable name — `myCounter`. If any other module on the page makes use of such names like `number` or `isGreaterThanTen` then it's perfectly safe, because we will not override each others values;
0 commit comments