Exit 98-363 Web Development Fundamentals
Question 4 of 5
0% complete
Q4 Single choice

A JavaScript code example contains the following:

varmyArray = [];
myArray[0] = 'A';
myArray[1] = 'B';
myArray[5] = 'C';

What is the value of myArray[3]?

  • A

    undefined

  • B

    null

  • C

    -1

  • D

    0