beautify 1st part of the tutorial
This commit is contained in:
parent
e3dd2cedc0
commit
6444024a9d
327 changed files with 2358 additions and 1986 deletions
|
@ -8,9 +8,9 @@
|
|||
//+ run
|
||||
var currentCount = 1;
|
||||
|
||||
function makeCounter() {
|
||||
return function() {
|
||||
return currentCount++;
|
||||
function makeCounter() {
|
||||
return function() {
|
||||
return currentCount++;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
```js
|
||||
var currentCount = 1;
|
||||
|
||||
function makeCounter() {
|
||||
return function() {
|
||||
return currentCount++;
|
||||
function makeCounter() {
|
||||
return function() {
|
||||
return currentCount++;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue