Calling .slice() without arguments creates a shallow copy of an array.
.slice()
const original = [1, 2]; const copy = original.slice();
Copy original into copy, push three only to the copy, and display both arrays.
original
copy
three