I want to compute the full property as a result of the first and last properties in a single step, like so:
const name = {
first: 'John',
last: 'Doe',
full: `${this.first} ${this.last}`, // undefined
}
But name.full is undefined.
What am I doing wrong?