7 lines
146 B
Plaintext

class {
getFullName() {
return this.input.firstName + ' ' + this.input.lastName;
}
}
<div>Hello ${component.getFullName()}!</div>