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