There are many ways to create an array. One way is to describe the total length of the new Array inside the curly brackets i.e, new Array(4).
The other method is to declare the new Array Method without settings its total length and then putting multiple items in it.
var my_arr_1 = new Array(2); // will only contain two elements
var my_arr_2 = new Array(); // can contain as many elements as we want