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.
2 parents c8b4d34 + 1b87b89 commit 98d0c2cCopy full SHA for 98d0c2c
1-js/04-object-basics/06-constructor-new/article.md
@@ -171,7 +171,7 @@ alert( new SmallUser().name ); // John
171
Usually constructors don't have a `return` statement. Here we mention the special behavior with returning objects mainly for the sake of completeness.
172
173
````smart header="Omitting parentheses"
174
-By the way, we can omit parentheses after `new`, if it has no arguments:
+By the way, we can omit parentheses after `new`:
175
176
```js
177
let user = new User; // <-- no parentheses
0 commit comments