typo fixes

This commit is contained in:
Ilya Kantor 2015-03-22 19:14:01 +03:00
parent f6f6b20178
commit c6803faefd
3 changed files with 8 additions and 8 deletions

View file

@ -24,7 +24,7 @@ function makeCounter() {
var counter = makeCounter();
// каждый вызов увеличивает счётчик и возвращает результат
// каждый вызов возвращает результат, увеличивая счётчик
alert( counter() ); // 1
alert( counter() ); // 2
alert( counter() ); // 3
@ -49,7 +49,7 @@ function makeCounter() {
},
reset: function() {
currentCount = 0;
currentCount = 1;
}
};
}