Q. What will be the output of the following JavaScript code?
Code:<script>
const myArray = ['h', 'e', 'l', 'l', 'o'];
document.write(myArray[0]);
document.write(myArray[1]);
</script>
β
Correct Answer: (A)
he