File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -110,13 +110,8 @@ alert(typeof User); // function
110110// ...ou, plus précisément, le constructeur de la méthode
111111alert (User === User .prototype .constructor ); // true
112112
113- <<<<<< < HEAD
114- // Les méthodes sont dans User.prototype, e.g:
115- alert (User .prototype .sayHi ); // alert(this.name);
116- ====== =
117- // The methods are in User.prototype, e.g:
118- alert (User .prototype .sayHi ); // the code of the sayHi method
119- >>>>>> > 7b76185892aa9798c3f058256aed44a9fb413cc3
113+ // Les méthodes sont dans User.prototype, par exemple :
114+ alert (User .prototype .sayHi ); // le code de la méthode sayHi
120115
121116// Il y a exactement deux méthodes dans le prototype
122117alert (Object .getOwnPropertyNames (User .prototype )); // constructeur, sayHi
You can’t perform that action at this time.
0 commit comments