Skip to content

Commit 1dd8628

Browse files
committed
fixed 2 small typos
1 parent e23cf96 commit 1dd8628

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/09-classes/02-class-inheritance/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ longEar.eat(); // Длинноух ест.
465465
```js run
466466
let animal = {
467467
sayHi() {
468-
console.log(`Я животное`);
468+
console.log("Я животное");
469469
}
470470
};
471471
@@ -518,7 +518,7 @@ tree.sayHi(); // Я животное (?!?)
518518

519519
```js run
520520
let animal = {
521-
eat: function() { // намеренно не пишем так, а не eat() { ...
521+
eat: function() { // намеренно пишем так, а не eat() { ...
522522
// ...
523523
}
524524
};

0 commit comments

Comments
 (0)