let array2 = ['Banana', ['Apples', ['Oranges'], 'Blueberries']];
document.write(array2[0][0]);
I wanted to print Apples in this array. When I tried array2[0] it prints Banana which is correct, but when I make it array2[0][0] it prints B, when I make it like array2[0][1] it prints a. Seems like the string Banana became an array.
Bananais not an array, but a string, and you can access individual characters in strings with the same syntax that you use to access elements in an array - numeric brackets notation.