You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/04-object-basics/06-constructor-new/article.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,13 +170,8 @@ alert( new SmallUser().name ); // John
170
170
171
171
Généralement, les constructeurs n’ont pas d’instruction `return`. Nous mentionnons ici le comportement spécial avec les objets renvoyés principalement dans un souci de complétude.
172
172
173
-
<<<<<<< HEAD
174
173
````smart header="Omettre les parenthèses"
175
-
À propos, on peut omettre les parenthèses après `new`, s'il n'y a pas d'argument :
176
-
=======
177
-
````smart header="Omitting parentheses"
178
-
By the way, we can omit parentheses after `new`:
179
-
>>>>>>> bf7d8bb1af3b416d393af1c15b03cb1352da1f9c
174
+
À propos, on peut omettre les parenthèses après `new` :
0 commit comments