What does the code snippet to the right output by console.log?
console.log
const arr = [1,2] arr.push(3,4) arr.unshift(5,6) console.log(arr)
Source Fromopen in new window