We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35bd78f commit 8b22853Copy full SHA for 8b22853
1 file changed
1-js/04-object-basics/06-constructor-new/article.md
@@ -38,15 +38,15 @@ alert(user.isAdmin); // false
38
```js
39
function User(name) {
40
*!*
41
- // this = {}; (условно)
+ // this = {}; (неявно)
42
*/!*
43
44
// add properties to this
45
this.name = name;
46
this.isAdmin = false;
47
48
49
- // return this; (условно)
+ // return this; (неявно)
50
51
}
52
```
0 commit comments