This commit is contained in:
Ilya Kantor 2017-01-07 01:25:31 +01:00
parent ad499144a1
commit 6c9c2219ba
19 changed files with 91 additions and 54 deletions

View file

@ -0,0 +1,8 @@
function Accumulator(startingValue) {
this.value = startingValue;
this.read = function() {
this.value += +prompt('Сколько добавлять будем?', 0);
};
}