denzilquixode #1 When you slice an array, you are not actually modifying it (like you are when you change one of its values) but instead creating an entirely new array, and copying some of the elements of the old one into it.