From 3aaf519ca2ebb47f329a93e6bd2832e4608ed8af Mon Sep 17 00:00:00 2001 From: Violet Bora Lee Date: Sun, 30 Aug 2020 19:53:28 +0900 Subject: [PATCH] suggestion to use alert method not console.log --- 1-js/09-classes/02-class-inheritance/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/09-classes/02-class-inheritance/article.md b/1-js/09-classes/02-class-inheritance/article.md index 3ce6d299..faf8dcc8 100644 --- a/1-js/09-classes/02-class-inheritance/article.md +++ b/1-js/09-classes/02-class-inheritance/article.md @@ -545,7 +545,7 @@ Here's the demo of a wrong `super` result after copying: ```js run let animal = { sayHi() { - console.log(`I'm an animal`); + alert(`I'm an animal`); } }; @@ -559,7 +559,7 @@ let rabbit = { let plant = { sayHi() { - console.log("I'm a plant"); + alert("I'm a plant"); } };