Update 15_day_classes.md

pull/467/head
Abdurrahman Ayyıldız 3 years ago committed by GitHub
parent 4ab3bac14f
commit 6454b7e225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -571,7 +571,7 @@ class Student extends Person {
const s1 = new Student('Asabeneh', 'Yetayeh', 'Finland', 250, 'Helsinki')
console.log(s1)
console.log(s1.saySomething())
s1.saySomething()
console.log(s1.getFullName())
console.log(s1.getPersonInfo())
```
@ -634,11 +634,11 @@ s2.setSkill = 'Organizing'
console.log(s1)
console.log(s1.saySomething())
s1.saySomething()
console.log(s1.getFullName())
console.log(s1.getPersonInfo())
console.log(s2.saySomething())
s2.saySomething()
console.log(s2.getFullName())
console.log(s2.getPersonInfo())
```

Loading…
Cancel
Save