Skip to content

Commit be1968c

Browse files
committed
Add comma.
Use "which" instead of "that". Use "because".
1 parent 7a3b355 commit be1968c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/en/function/constructors.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ implicitly returns the value of `this` - the new object.
2424
The above calls `Foo` as constructor and sets the `prototype` of the newly
2525
created object to `Foo.prototype`.
2626

27-
In case of an explicit `return` statement the function returns the value
27+
In case of an explicit `return` statement, the function returns the value
2828
specified that statement, **but only** if the return value is an `Object`.
2929

3030
function Bar() {
@@ -73,7 +73,7 @@ explicitly return a value.
7373
Bar();
7474

7575
Both calls to `Bar` return the exact same thing, a newly create object which
76-
has a property called `method` on it, that is a
76+
has a property called `method` on it, which is a
7777
[Closure](#function.closures).
7878

7979
It is also to note that the call `new Bar()` does **not** affect the prototype
@@ -86,7 +86,7 @@ not using the `new` keyword.
8686

8787
### Creating New Objects via Factories
8888

89-
An often made recommendation is to **not** use `new` since forgetting its use
89+
An often made recommendation is to **not** use `new` because forgetting its use
9090
may lead to bugs.
9191

9292
In order to create new object, one should rather use a factory and construct a

0 commit comments

Comments
 (0)