Sometimes understanding how data structures work is not intuitive, this is an experiment to see if simple guides and visualization are useful.
var sliced = arr.slice(0, 1);
arr.push(20);
var arr = [1, 2, 3, 4, 5];
var arr = [1, 2, 3];
[1, 2, 3, 20]