@@ -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 ` ;
1111this variable is also called ` undefined ` . However, this variable is ** neither** a constant
1212nor a keyword of the language. This means that its * value* can be easily
1313overwritten.
@@ -36,7 +36,7 @@ necessary to retrieve the value of `undefined` first.
3636
3737In order to protect code against a possible overwritten ` undefined ` variable, a
3838common 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
6060anonymous 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)
6666is more or less just another data type.
6767
6868It 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
7070can be replaced by ` undefined ` .
7171
7272
0 commit comments