Reassigning parameters can lead to unexpected behavior and hard-to-track bugs.
When you reassign a method parameter, you lose the original value passed to the method, which might be needed later. In checkout logic, if you change a 'price' parameter directly, you can't access the original price again, potentially affecting discounts or sales tax calculations.
Additional Notes
Why should you avoid reassigning method parameters in calculations?