Refer to the following array:
Let arr1 = [ 1, 2, 3, 4, 5 ];

Which two lines of code result in a second array, arr2 being created such that arr2 is not a reference to arr1?
- Let arr2 = arr1.slice(0, 5);
- Let arr2 = Array.from(arr1);
- Let arr2 = arr1;
- Let arr2 = arr1.sort();
Reveal Solution Next Question