What is the result of the following code?
const arr = [1, 2, 3]; arr[0] = 4; console.log(arr[0]);
2
1
3
4