Sequential for loop

Hello there.

I have a question regarding a piece of code below.

var myStringArray = ["Hello","World"];
var arrayLength = myStringArray.length;
for (var i = 0; i < arrayLength; i++) {
    //Do something

It is a for loop which should loop through an array.
My question is regarding the [i] placed with the variable in the console.log. What is the meaning of that [i]? Is [i] now arrayLength?

This is property accessor, you can access property of object in JavaScript in two ways:

// dot notation

// bracket notation

More here:

Thanks @snigo I need to do my homework better.