code indent

pull/113/head
Kamrul Islam Shahin 5 years ago
parent 35fe7066cb
commit 539a22dd2e

@ -605,7 +605,7 @@ class Student extends Person {
` and ${this.skills[this.skills.length - 1]}` ` and ${this.skills[this.skills.length - 1]}`
let pronoun = this.gender == 'Male' ? 'He' : 'She' let pronoun = this.gender == 'Male' ? 'He' : 'She'
let formattedSkills = skills ? `${pronoun} knows ${skills}` : '' let formattedSkills = skills ? `${pronoun} knows ${skills}` : ''
let info = `${fullName} is ${this.age}. ${pronoun} lives in ${this.city}, ${this.country}. ${formattedSkills}` let info = `${fullName} is ${this.age}. ${pronoun} lives in ${this.city}, ${this.country}. ${formattedSkills}`
return info return info

Loading…
Cancel
Save