File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ being `undefined`.
8
8
` undefined ` is a type with exactly one value: ` undefined ` .
9
9
10
10
The language also defines a global variable that has the value of ` undefined ` ,
11
- this variable is also called ` undefined ` . But this variable is ** not ** a constant,
12
- nor is it a keyword of the language. This means that its * value* can be easily
11
+ this variable is also called ` undefined ` . However, this variable is ** neither ** a constant
12
+ nor a keyword of the language. This means that its * value* can be easily
13
13
overwritten.
14
14
15
15
> ** ES5 Note:** ` undefined ` in ECMAScript 5 is ** no longer** * writable* in strict
@@ -31,7 +31,7 @@ Since the global variable `undefined` only holds a copy of the actual *value* of
31
31
` undefined ` , assigning a new value to it does ** not** change the value of the
32
32
* type* ` undefined ` .
33
33
34
- Still, in order to compare something against the value of ` undefined ` it is
34
+ Still, in order to compare something against the value of ` undefined ` , it is
35
35
necessary to retrieve the value of ` undefined ` first.
36
36
37
37
In order to protect code against a possible overwritten ` undefined ` variable, a
You can’t perform that action at this time.
0 commit comments