This commit is contained in:
Ilya Kantor 2016-11-12 19:38:58 +03:00
parent 5372c18379
commit 3defacc09d
314 changed files with 1761 additions and 1704 deletions

View file

@ -0,0 +1,14 @@
let calculator = {
sum() {
return this.a + this.b;
},
mul() {
return this.a * this.b;
},
read() {
this.a = +prompt('a?', 0);
this.b = +prompt('b?', 0);
}
};