@@ -23,8 +23,8 @@ The code below will return a new `Array` containing all the elements of the
23
23
24
24
Array.prototype.slice.call(arguments);
25
25
26
- This conversion is ** slow** , it is ** not recommended** to use it in performance
27
- critical sections of code.
26
+ Because this conversion is ** slow** , it is ** not recommended** to use it in
27
+ performance- critical sections of code.
28
28
29
29
### Passing Arguments
30
30
@@ -59,7 +59,7 @@ wrappers.
59
59
### Formal Parameters and Arguments Indices
60
60
61
61
The ` arguments ` object creates * getter* and * setter* functions for both its
62
- properties as well as the function's formal parameters.
62
+ properties, as well as the function's formal parameters.
63
63
64
64
As a result, changing the value of a formal parameter will also change the value
65
65
of the corresponding property on the ` arguments ` object, and the other way around.
@@ -105,8 +105,8 @@ modern JavaScript engines. That case is the use of `arguments.callee`.
105
105
106
106
In the above code, ` foo ` can no longer be a subject to [ inlining] [ 1 ] since it
107
107
needs to know about both itself and its caller. This not only defeats possible
108
- performance gains that would arise from inlining, it also breaks encapsulation
109
- since the function may now be dependent on a specific calling context.
108
+ performance gains that would arise from inlining, but it also breaks encapsulation
109
+ because the function may now be dependent on a specific calling context.
110
110
111
111
It is ** highly recommended** to ** never** make use of ` arguments.callee ` or any of
112
112
its properties.
0 commit comments