// ... computed: { fullName: { // getter get: () => { return this.firstName + ' ' + this.lastName }, // setter set: (newValue) => { var names = newValue.split(' ') this.firstName = names[0]