Data Structures
You will find in your programs that you routinely need to store information in certain areas of your program. Data structures are designed to store information efficiently and provide convenient mechanisms for passing data around in your code. Different data structures have different ways of accessing and addressing the information contained within, and having a general idea of how the built-in data types work will help you choose the one that is right for your program.
Array
An array is one of the most common data structures used in JavaScript. An array is one of the predefined objects in JavaScript and provides a convenient structure to store an ordered set of values that you can access by name or by their position within the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access