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