Trying to understand how i could have known this
Sorry for phone pic, printscrn isn’t working. Anyways i finally figured this out with some help. The tests (bottom left) definitely made it seem more complicated than it was. Anyways, looking through this code is there any way i could have known “arr” was linked to “testArr”? I posted a picture of the solved answer which needed to use arr.push(). I was doing it right from the beginning but i kept using testArr.push() because that is what i see in the code as the array.


