From c51058b3de4df70a216ed25e57ad474c6ffcb166 Mon Sep 17 00:00:00 2001 From: Asabeneh Date: Thu, 16 Jan 2020 01:01:28 +0200 Subject: [PATCH] day 15 --- 15_Day/15_day_classes.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/15_Day/15_day_classes.md b/15_Day/15_day_classes.md index 3163aff2..531867b4 100644 --- a/15_Day/15_day_classes.md +++ b/15_Day/15_day_classes.md @@ -508,13 +508,11 @@ class Person { let formattedSkills = skills ? `He knows ${skills}` : '' let info = `${fullName} is ${this.age}. He lives ${this.city}, ${this.country}. ${formattedSkills}` - console.log(this) return info } static favoriteSkill() { const skills = ['HTML', 'CSS', 'JS', 'React', 'Python', 'Node'] const index = Math.floor(Math.random() * skills.length) - console.log('hi') return skills[index] } static showDateTime() { @@ -609,7 +607,6 @@ class Student extends Person { let pronoun = this.gender == 'Male' ? 'He' : 'She' let info = `${fullName} is ${this.age}. ${pronoun} lives in ${this.city}, ${this.country}. ${formattedSkills}` - console.log(this) return info } }