0

Help/Explain question 1

Add the variables from #1 (fullName and birthYear) to myArray using the push method. Print myArray to the console.

7th Apr 2018, 7:06 AM
Coder1995
Coder1995 - avatar
1 Antwort
0
Hi Coder1995 The question is asking the following - take two variables called "fullName" and "birthYear" -create an array called "myArray" -now using array.push method insert the variables into the array. -now use a loop to iterate through the array and print out the variables hope this helps
7th Apr 2018, 9:21 AM
Mike Choy
Mike Choy - avatar