Till now, you learnt how to store a value inside a variable. What if you want to store multiple values? That's when arrays are used. Watch the next video to learn more about what arrays are and what is their syntax in JavaScript.
Arrays are very important in programming as they represent the most basic way a collection of data can be stored. Arrays are present in almost all the programming languages for the functionality they provide. Some benefits of arrays are as follows:
1. Improves readability
2. Do not need to remember different variable names
3. All the elements can be accessed sequentially one after the other