Skip to content

Commit 6d96eab

Browse files
committed
Fix comma splice.
Remove comma before "that". Use comma for introductory clauses.
1 parent 1d8aaa9 commit 6d96eab

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/en/core/undefined.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ being `undefined`.
77

88
`undefined` is a type with exactly one value: `undefined`.
99

10-
The language also defines a global variable that has the value of `undefined`,
10+
The language also defines a global variable that has the value of `undefined`;
1111
this variable is also called `undefined`. However, this variable is **neither** a constant
1212
nor a keyword of the language. This means that its *value* can be easily
1313
overwritten.
@@ -36,7 +36,7 @@ necessary to retrieve the value of `undefined` first.
3636

3737
In order to protect code against a possible overwritten `undefined` variable, a
3838
common technique used is to add an additional parameter to an
39-
[anonymous wrapper](#function.scopes), that gets no argument passed to it.
39+
[anonymous wrapper](#function.scopes) that gets no argument passed to it.
4040

4141
var undefined = 123;
4242
(function(something, foo, undefined) {
@@ -55,8 +55,8 @@ wrapper.
5555

5656
})('Hello World', 42);
5757

58-
The only difference being here, that this version results in 4 more bytes being
59-
used in case it is minified and there is no other `var` statement inside the
58+
The only difference here is that this version results in 4 more bytes being
59+
used in case it is minified, and there is no other `var` statement inside the
6060
anonymous wrapper.
6161

6262
### Uses of `null`
@@ -66,7 +66,7 @@ the sense of a traditional *null*, the actual `null` (both a literal and a type)
6666
is more or less just another data type.
6767

6868
It is used in some JavaScript internals (like declaring the end of the
69-
prototype chain by setting `Foo.prototype = null`), but in almost all cases it
69+
prototype chain by setting `Foo.prototype = null`), but in almost all cases, it
7070
can be replaced by `undefined`.
7171

7272

0 commit comments

Comments
 (0)