? Hi everybody, I am presently trying to learn javascript and have been reading sams teachyourself javas… in 21 days. I have been set the task to seperate out the names of one Array with the relevent ages of another Array. I have used a combination of the pop() and push() methods together with a while loop to seperate an array of ages into ages belonging to adults and ages belonging to minors. I created another array called names in parallel with the array called ages and another two arrays to hold the adult names and the minor names.I was told i will need to add some code to a for loop that will seperate out the names with the relevent ages.If anybody could provide code it would be much appreciated. Thanks
Ross