console.log(myArray)
Just printed array 2 but then there was an arrow and when I pressed it I found all my variables. Sorry for being confusing I am a TRUE BEGINER.
Seeing something like this? In the image above, DevTools simply representing Array that way (2) means two elements and the arrow is a convienient way to peek into the array and see what is going on inside. This way to represent arrays can be helpful, especially when array has a lot of elements, it may clutter your entire screen Not sure if helps.