Skip to content

Commit a752663

Browse files
authored
Update article.md
1 parent 5b43dce commit a752663

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

1-js/09-classes/01-class/article.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,7 @@ let user = new User("John");
5050
user.sayHi();
5151
```
5252

53-
<<<<<<< HEAD
5453
Quando viene chiamato `new User("John")`:
55-
=======
56-
When `new User("John")` is called:
57-
1. A new object is created.
58-
2. The `constructor` runs with the given argument and assigns it to `this.name`.
59-
>>>>>>> 97ef86242f9f236b13152e1baf52a55c4db8728a
60-
6154
1. Viene creato un nuovo oggetto;
6255
2. Il metodo `constructor()` viene richiamato e assegna a `this.name` l'argomento dato.
6356

0 commit comments

Comments
 (0)