`Array()` doesn't make a copy, so in those examples, you are potentially modifying the array given as argument.