Consider the following code snippet:
const arr = [1, 2, 3];
arr = [4, 5, 6];
console.log(arr);
What will be the output of the console.log statement?
Consider the following code snippet:
const arr = [1, 2, 3];
arr = [4, 5, 6];
console.log(arr);
What will be the output of the console.log statement?