File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -600,7 +600,7 @@ holding onto a reference of the shopping cart will be affected by any changes.
|
600 | 600 |
|
601 | 601 | Two caveats to mention to this approach:
|
602 | 602 | 1. There might be cases where you actually want to modify the input object,
|
603 |
| -but when you adopt this programming practice you will find that those case |
| 603 | +but when you adopt this programming practice you will find that those cases |
604 | 604 | are pretty rare. Most things can be refactored to have no side effects!
|
605 | 605 |
|
606 | 606 | 2. Cloning big objects can be very expensive in terms of performance. Luckily,
|
|
You can’t perform that action at this time.
0 commit comments