https://crocsbootsbestcheapprice.blogspot.com/2023/03/unexpected-outcome-when-modifying.html
Unexpected Outcome When Modifying An Object In A Function