You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-11Lines changed: 19 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -631,7 +631,23 @@ Other Style Guides
631
631
632
632
- [7.12](#7.12) <a name="7.12"></a> Never mutate parameters.
633
633
634
-
> Why? Overwriting parameters can lead to unexpected behavior, especially when accessing the `arguments` object. Manipulating objects passed in as parameters can cause unwanted variable side effects in the original caller.
634
+
> Why? Manipulating objects passed in as parameters can cause unwanted variable side effects in the original caller.
- [7.13](#7.13) <a name="7.13"></a> Never reassign parameters.
649
+
650
+
> Why? Reassigning parameters can lead to unexpected behavior, especially when accessing the `arguments` object. It can also cause optimization issues, especially in V8.
0 commit comments