What does this code print to the console?
const x = [1, 2]; const y = [5, 7]; const z = [...x, ...y]; console.log(z);
[1,2,5,7]
[[1, 2], [5, 7]]
[2,7]
[2,1,7,5]