JavaScript array object allows you to store the multiple values of similar datatype into a single variable. JavaScript Array stores the items at different consecutive index numbers that can be retrieved using JavaScript For loop very easily. In this sample we will learn and practive the different types of JavaScript Array declarations for example dynamic array and length bound array. Now lets the execute the code given in the sample below: