Update 01_javascript_refresher.md

Deleted the duplicate console.log in the JS refresher which was erroneously calling console.log(console.log(this.property)).
pull/249/head
g-vernon 3 years ago committed by GitHub
parent d0c066fcb9
commit 70eee1d1da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save