1var array = [1,2,3]
2
3for(var i = 0; i < array. length ; i++){
4
5console. log(array[i])
6}
7
8//This is how you print the elements of the array if it is useful!
9//-Andrew Ma
1const arr = [1, 2, 'a', '1a'];
2const str = arr.toString();
3console.log(str); //> "1,2,a,1a"
1var array = [1,2,3]
2
3for(var i = 0; i < array.length ; i++){
4 console.log(array[i])
5}