Just solved a clever glitch in a Javascript app. Why did the array change without even being touched? Because it was passed to another function and used over there. Solution: clone. Niiice.

Notes