1var myArray = ["one", "two", "three"];
2var cloneArray = myArray.slice();
3
4myArray.splice(1, 1);
5
6console.log(myArray);
7console.log(cloneArray);
1var newarray = array.slice().reverse(); //returns a reversed array without modifying the original
2