What will be the output of the following code?
const str = "Hello"; const chars = [...str]; console.log(chars[2]);
undefined
"o"
"e"
"l"