So I have been messing around with arrays, and array methods. I know that
java you can add stuff to arrays just using .add, like list.add(15); I was wondering if JavaScript has something like that? The closest thing I have found is the push() method, but that adds to the end of the array. I have looped through an array finding the index of values, but now I want add names in a loop to an array...and then that last part is just to print the out, so I know they were added
Something like