Klonuj tablicę za pomocą metody JavaScript slice ()
var numbers = [1, 2, 3, 4, 5];
var clonedNumbers = numbers.slice();
console.log("Cloned Numbers are:", clonedNumbers)
Gorgeous Gazelle