I have array:
var array = ["a", "b", "c"];
I need save this array to another variable
var save = array;
Now I need splice from save
first index but when I try it, the index is removed from both arrays.
var array = ["a", "b", "c"];
var save = array;
save.splice(0, 1);
console.log(array);
console.log(save);