What is the result of the following code?
const arr = ['a', 'b', 'c']; arr.splice(1, 1, 'x'); console.log(arr[1]);
'x'
'c'
'b'
'a'