Skip to content

Commit 366b5f4

Browse files
authored
Update article.md
1 parent a752663 commit 366b5f4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,7 @@ rabbit.run(5); // White Rabbit runs with speed 5.
5353
rabbit.hide(); // White Rabbit hides!
5454
```
5555

56-
<<<<<<< HEAD
57-
Ora il codice di `Rabbit` è diventato un po' più corto, dato che utilizza il costruttore di `Animal`, e può anche correre (usare il metodo `run`) come gli animali (animals).
58-
=======
59-
Object of `Rabbit` class have access both to `Rabbit` methods, such as `rabbit.hide()`, and also to `Animal` methods, such as `rabbit.run()`.
60-
>>>>>>> 97ef86242f9f236b13152e1baf52a55c4db8728a
56+
L'oggetto della classe `Rabbit` ha accesso sia ai metodi di `Rabbit` (ad esempio `rabbit.hide()`) che a quelli di `Animal` (`rabbit.run()`).
6157

6258
Internamente, `extends` aggiunge da `Rabbit.prototype` un riferimento `[[Prototype]]` a `Animal.prototype`:
6359

0 commit comments

Comments
 (0)