var arr = [1, 2, [3, 4], 4, 5, 6]; var [...arr2] = arr; arr2[2] = [1992, 1598]; console.log(arr); console.log(arr2);