File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ holding onto a reference of the shopping cart will be affected by any changes.
600600

601601
Two caveats to mention to this approach:
602602
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
604604
are pretty rare. Most things can be refactored to have no side effects!
605605

606606
2. Cloning big objects can be very expensive in terms of performance. Luckily,

0 commit comments

Comments
 (0)