What value is printed when the following code is executed?
const arr = ['a', 'b', 'c']; console.log(arr.length);
2
4
undefined
3