What value is printed when executing the following code?
const arr = [3, 1, 4]; arr.sort(); console.log(arr[0]);
4
3
1
0