We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d36db20 + 3aaf519 commit 92e9028Copy full SHA for 92e9028
1-js/09-classes/02-class-inheritance/article.md
@@ -545,7 +545,7 @@ Here's the demo of a wrong `super` result after copying:
545
```js run
546
let animal = {
547
sayHi() {
548
- console.log(`I'm an animal`);
+ alert(`I'm an animal`);
549
}
550
};
551
@@ -559,7 +559,7 @@ let rabbit = {
559
560
let plant = {
561
562
- console.log("I'm a plant");
+ alert("I'm a plant");
563
564
565
0 commit comments