We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b43dce commit a752663Copy full SHA for a752663
1-js/09-classes/01-class/article.md
@@ -50,14 +50,7 @@ let user = new User("John");
50
user.sayHi();
51
```
52
53
-<<<<<<< HEAD
54
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
-
61
1. Viene creato un nuovo oggetto;
62
2. Il metodo `constructor()` viene richiamato e assegna a `this.name` l'argomento dato.
63
0 commit comments