This commit is contained in:
Ilya Kantor 2017-05-01 11:44:56 +03:00
parent a68022a8d6
commit 04b2fcfba2
17 changed files with 304 additions and 137 deletions

View file

@ -174,7 +174,7 @@ let user = {
set fullName(value) {
[this.name, this.surname] = value.split(" ");
}
},
get fullName() {
return `${this.name} ${this.surname}`;