What Is an Array?

An array is a way to store a collection of multiple items under a single variable name. This section introduces how to create, delete and access array elements.  Think about the following as you read the article:

  • How are array elements accessed?
  • What methods are used to access the elements of an array?
  • How would you convert a string into an array?


Conclusion

After reading this article, we are sure you will agree that arrays seem pretty useful; you will see them crop up everywhere in JavaScript, often in association with loops to do the same thing to every item in an array. Now you should give yourself a clap and take a well-deserved break; you've worked through all the sections in this article!