We can access the data inside arrays using indexes.
Array indexes are written in the same bracket notation that strings use, except that instead of specifying a character, they are specifying an entry in the array.
var array = [1,2,3]; array; //equals 1 var data = array;
Actually is asking for you to create an Array of myData but pull information from myArray.
So actually the correct answer would be something like this.
var myArray = [1,2,3];
// Only change code below this line.
var myData = [4, 5, 6];
var myData = myArray;